![]() |
Sigil-1.6.0 Released
Sigil-1.6.0
Sigil-1.6.0 represents a mix of bug fixes and new features for both epub2 and epub3. New Features:
Bug Fixes:
--------------------------------- Notes ----------------------------------- The Sigil user guide has been updated for Sigil-1.6.0+ for the new Saved Search Controls and Find & Replace targets. It can always be downloaded from its own repository. Three new e-Reader plugins for Sigil have been built to help users see what their ebook might look like in real e-readers while still inside Sigil. See this post for descriptions and links. Please check the Sigil Wiki for important Sigil support links, additional resource downloads, and platform-specific trouble-shooting tips/requirements. Mac users should still download and install ActiveState's ActiveTcl Community Edition to utilize plugins that use Tk/Tcl GUIs. More here. Mac users should also check out the wiki entry on the New Release File Format. PGP Fingerprint The binary downloads (and source) can be found as assets at the bottom of The Sigil Github Release page. |
Post reserved for future use.
|
:thanks: :thanks: Sigil 1.6.0 is an AWESOME update. I especially appreciate the expanded search targets and full search Controls for Saved Searches. This is very useful to me. :thanks:
Question: When I right-click on a Saved Search, there is a "Fill Controls" option at the bottom of the context menu. However, when I select that, nothing seems to happen. Am I missing something? Should I be able to set Saved Searches Controls from the context menu? In the meantime, I successfully set my Controls by double-clicking in the Control column, no problem :) Quote:
|
Think of Fill Controls as being like Fill Down in Microsoft Excel. It will copy the first Controls value to all of the other Controls fields that are highlighted via dragging or shift click. That way if you want the same controls for an entire saved search group, you just fill in the first Controls and then highlight it and all of the other Controls in the search group and choose Fill controls.
KevinH Quote:
|
FWIW, I tried to update the User's Guide to bring it up to Sigil-1.6.0 levels. So you may want to grab the latest copy of the user guide.
|
Quote:
Question: I know I'm probably doing something stupid, but how do you highlight via dragging? Every time I try to drag, the entire search entry moves up or down. (Highlighting via shift click works great.) Quote:
|
Perhaps drag of an entry takes precedence. I forgot that drag can be used to repder entries as I always use the arrow keys to do that.
|
Okay, makes sense.
I just attempted a pull request for the User Guide on GitHub to add info on Context Menu > Fill Controls to the Saved Searches chapter. I am very intimidated by GitHub and don't know what I'm doing, but I wanted to try to expand my brain and figure this out. Let me know if it worked. If not, I'm happy to post the xhtml file here. Quote:
|
Quote:
|
Quote:
|
Quote:
There are plenty of links that take users (new and old) directly to the release notices that have the downloads attached. No navigation required. Only a bit of reading (which I won't ever apologize for requiring). Please stop with the passive/aggressive jabs. |
Again - thanks for all the hard work!
I really don't like being the guy that just complains.... so .... I'm going to recommend a way to make Sigil even better! By fixing a minor bug that I found! lol The preview pane doesn't update position properly, and/or just goes to the wrong place whenever you update the css. To replicate: - If you are finding some text and it switches to a new html page the code view will show the correct location with the found text highlighted, but the preview window just displays the top of the new html page. It appears to go to the correct location if the found phrase is on the same html page. - If you are looking at a particular location in code view, then switch to the corresponding css (either with ctrl+click on the class name, or manually opening it) then the preview pane switches to some random view (rather than staying with the text you were working with). You can scroll back to the correct location on PV, but then any change to the CSS causes the PV to revert back to the previous random location. - Also, I'm not sure if it is related, but when I open a book, the preview window seems to be flashing as if it is refreshing. When I change from the initial html page, the flashing seems to go away. I hope that helps! edit: Windows 64 (latest), only 16GB RAM:(, latest Sigil (1.6.0) |
Quote:
Quote:
Making pull requests on GitHub = intimidating, what with all the forking and pulling and pushing and merging and cloning and branching ... :blink: However, downloading Sigil from GitHub = no problem :) |
Quote:
|
We may have inadvertently broken something with the changes to prevent double-loading.
And we will need to better store the last location when changing to another tab so that Preview will always be up to date. I can look into that on Tuesday. I am tied up tomorrow. Edit: Actually, I took a look on macOS and I can not recreate what you are seeing. The location Preview moves to is just not centred on the PV window but instead is placed at the top of the screen. If I return to that tab (not the css tab) clicking on that line at the top of the Preview Window brings me back to the exact same place in CV. At least that is what I am seeing on macOS. |
Update, I tried it again and it did appear much more random this time. So there does appear to be location information gone missing.
|
Okay, I have pushed some debug code to master along with a potential fix for the non-proper location syncing when moving from html in CV to css in CV and back.
This will require testing on Windows to make sure I have not broken something there inadvertently (or worse yet brought back the double load problem). |
Quote:
Hmmm... username seems oddly familiar, but I can't quite put my finger on it. Never heard of this "Text" person though. :D |
I just posted it. I didn't compose it this time. ;)
|
Brain fart! I will fix it. I write Text much more than I write "Tex".
Sorry about that! Just ask BeckyEbook how many times I have massacred her user name! |
Fixed on github releases and fixed here!
Also fixed in the ChangeLog.txt (At least I was consistent!) |
I'd love to hear from those who were experiencing performance issues with the 1.4 and 1.5 series. There were a lot of performance-based changes in 1.6.
|
Since installing Sigil 1.60 Windows x64, I've had a random error when opening Sigil. The usual popup with Sigil has encountered a problem. Sigil may need to close. Details in the spoiler which oddly ends with The operation completed successfully.
Spoiler:
|
That's typically memory and/or video driver related. Have you updated your video driver recently? On Linux, a reboot usually fixes the problem (especially if video drivers have been updated without a reboot). On Windows, I've seen it more rarely. But it's never been consistent (or caused any real issues). It's not new to Sigil 1.6.0 by any means. You've reported it yourself RE the 1.4.3 version (https://www.mobileread.com/forums/sh...5&postcount=14). It's been around intermittently since the switch to QtWebEngine.
|
Quote:
|
A big thank you for all the hard work, and all the time you spent doing this. Much appreciated.
version 1.6.0 runs very well on my computer (latest windows 10 x64 version with all updates - build 19043.1023). No bugs encountered so far, performance is very good. |
Thank you. :)
|
Did anything change that would make the "sigil_split_marker" lighter? I know I just turned 58, and have been needing to were reading glasses, but for some reason after installing Sigil 1.6 the "sigil_split_marker" appear to be very light.
I looked thru preferences and couldn't find any where to change the color. that might be something to add, maybe? Thanks Brent |
No. Nothing we did would have changed that. But the split marker is just a horizontal rule with a special class name. So an ebook's own css would determine how it's displayed in Preview. So no need for a preference setting to adjust the color.
|
And it is treated like any other tag in CodeView and highlighted using the exact same colours as it was in Sigil-1.5.1 which do have user preference settings to select them.
|
And in Code View, I would expect "sigil_split_marker" to appear to be just as light/dark as any other html attribute value. They're all set by the same preference.
|
Thank you,
A little tweaking, and my new borders look great. Brent |
This new version is blazing fast compared to the previous one. My computer is a beast; 16 cores/32 threads, 64 gig of ram, and the previous version ran like molasses.
|
Quote:
But there have been a few regressions introduced along the way too. One Spellcheck List issue was already adjusted for next release—1.6.1: - "In spellcheck do FindSelectedWord only if double-clicked to speed paging" * * * The Issue When used on a very large EPUB (~1.6 million words), Tools > Spellcheck > Spellcheck was sluggish, with noticeable delays between clicks/highlights. These were the timings in my VM: - Sigil 1.6.0: ~1.4 seconds - Sigil 1.5.1: ~1.4 seconds - Sigil 0.9.14: <0.5 seconds - Calibre 5.19: Instant Note: In your typical-sized ebook, these steps barely take a perceivable amount of time. VM Note: Windows 10 + 2 cores + on an external hard drive. * * * If you need an enormous EPUB (~1.3 million words) to poke around in, there's the same one I mentioned in my "monolithic single file" report: https://mises.org/library/complete-l...orum-1969-1984 If you want it even bigger, just EPUB Merge it with another large ebook. :D The Steps While in Spellcheck List (Tools > Spellcheck > Spellcheck)... Sigil pre-1.6.1 1. Single-click a word in the list. It jumps to the word within Code View. 2. Press Page Down/Up OR single-click any word. (#.## seconds delay to find/jump within Code View.) Page Down multiple times, and the delay hits every single time as Sigil searches through Code View. Sigil 1.6.1+ To mitigate some of this, we settled on: 1. Double-click a word jumps to the word within Code View. 2. Press Page Down/Up OR single-click another word. No jump in Code View. This allows you to easily make all your adjustments directly in Spellcheck List window (sort columns, Change Selected Word To, Add To Dictionary, [...]) without the need to mess with the code. Side Note: This double-click jump + single-click stay is the way Calibre's Spellcheck List already works. * * * Note: KevinH tested this and couldn't reproduce. No/barely any slowness. Also seems like it would be a huge amount of overhaul for fractional gains. Here was his explanation to me via PM: Quote:
... Although at this point, we're niggling over 1 second... Plus, now with Sigil 1.6.1's already-pushed fix, this 1 second will be buried out of the way. :D |
FYI, That fix will probably appear in a 1.7.0 release after a few new features have been added. As for timings, 0.9.14 only searches for a word, not the word and language, so it will be much faster as it does not require any code parsing at all. Sigil, unlike calibre (unless Kovid changed it recently) only finds that word in the specified language so if a common misspelling exists in multiple languages it will just find the one matching the specific language being searched for. So the timings are actually not comparable since they do different things.
Once 1.7.0 is released in a few months (or if people build their own from master) if others see the same timing issues with your test case (that I can not reproduce under macOS) we can revisit things to see if something platform specific is at issue. |
I would like to comment on the problem reported by @Turtle91 here.
Quote:
However, last week I finally bought new equipment (i7-11700, 32GB) and I still have the mentioned problem (Windows 10 Pro). This is exactly step-by-step: * I'm opening a new EPUB file. * I search for a word (the XHTML file with the first finding is opened in a new tab). * In the Preview window I can see the beginning of the file, although the found word is highlighted in Code View in the middle of the file, far from the beginning of the file. * If I search for the next word and it appears in the same XHTML file, the Preview window will show the correct place, but if it requires opening a different XHTML file in a new tab, the problem will appear again. (This is the same situation described by @Turtle91.) Perhaps this is Windows-only related? |
That should be fixed in master. Please try opening a CV tab, clicking on a word to sync to Preview, next open any css tab, then switch back to the html tab you had opened. You should see the word you clicked on and Preview should have properly synced.
That bug (also reported by Turtle91) fix seemed to fix Preview syncing to CV either via click or via sync to search. At least it does for macOS. Can you reproduce that part of his bug report in current master as well? |
1 Attachment(s)
Quote:
Especially just a moment ago, I made a fresh build from the master with the latest commits. Issue exists. EDIT: After clicking in the Code View window, it works OK. Only searching (no clicking) does not work. Of course, I can live with it if you confirm that this action is intentional. This is strange because - as mentioned above - Find Next in the same XHTML file works fine and I don't need to click anything. |
I will try again to reproduce what you are seeing on macOS. But the earlier fix should correct both as it involves opening a new tab resource and having Preview sync to CodeView location in that new tab.
I just want to make sure your master build has that fix for the xhtml->css->xhtml tab sequence sync to Preview fix working. |
It is not intentional. The problem is that loading PV from CV and telling it to go to a specific location was working only 60% of the time due to timing issues with sequences of Qt signals.
I thought it was fixed, but I may be wrong. |
| All times are GMT -4. The time now is 10:41 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.