Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2022, 08:55 PM   #1
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,568
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Sigil-1.9.1 Release

Sigil-1.9.1

Sigil-1.9.1 is a follow-on bug-fix-only release meant to replace the recently released Sigil-1.9.0. There are no new features. The additional fixes since Sigil-1.9.0 are:
  • Allow creation of a Windows 7 Legacy Installer to return Sigil to Windows 7 (for now)
  • Completely revamped Find and Replace (yet again) to return most of its earlier behaviour for finding next
  • Prevent Find and Replace Count from changing current location
  • Extend spellcheck suggestions to properly handle end of sentence vs abbreviations
  • Center Image Report File Sizes vertically within their row.
  • Go To Link Or Style will now properly skip leading comments on selectors in CSS stylesheets
  • ecmascript is considered a core media type for javascript files
  • make URLInterceptor robust when the Book pointer is NULL (has been cleared)

Notes:

The latest version of the Sigil User Guide can always be downloaded from the Sigil website, or from its own GitHub repository.

Please check the Sigil website for important Sigil support links, additional resource downloads, and platform-specific trouble-shooting tips/requirements.

Mac users should also check out the website entry on the New Release File Format.

PGP Fingerprint (for signed tags and source archives):
Code:
B5A5 6206 AB0F BC1A 24EF AB8A A166 D29A 8FCD AC63
All binary (and source) downloads can also be found as assets at the bottom of The Sigil-1.9.1 Github Release page.
DiapDealer is online now   Reply With Quote
Old 03-04-2022, 08:56 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,568
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Post reserved for future use.
DiapDealer is online now   Reply With Quote
Advert
Old 03-05-2022, 04:04 AM   #3
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Thanks to both of you - I am looking forward to trying it out.

Edit:
Just installed 1.9.1 and tried a find and replace actions on all files, and it works exactly as I expected - focus remained at the point where I started the operation.

Great work guys! And thanks again.

Last edited by Ashjuk; 03-05-2022 at 04:12 AM.
Ashjuk is offline   Reply With Quote
Old 03-05-2022, 04:53 AM   #4
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
New search continues to be frustrating

My workflow is heavily keyboard search based as I mentioned in the 1.9.0 release thread.

Here are couple of simple test cases with the 1.9.1 release using the attached epub which is just the word "the" on 5 pages.

Test case 1:
  1. open search.epub
  2. type ctrl-f
  3. type "the" and hit enter - finds "the" in Section0001
  4. type ctrl-g - finds "the" in Section0002
  5. type ctrl-shift-g - finds "the" in Section0005
  6. any repeats of ctrl-g or ctrl-shift-g say "No matches found"
  7. hit "Restart" button in search box
  8. any repeats of ctrl-g or ctrl-shift-g STILL say "No matches found"

Test case 2:
  1. open search.epub
  2. double click on Section0003
  3. type ctrl-f
  4. type "the" and hit enter - finds "the" in Section0003
  5. type ctrl-shift-g - finds "the" in Section0002
  6. any repeats of ctrl-g or ctrl-shift-g say "No matches found"
  7. hit "Restart" button in search box
  8. any repeats of ctrl-g or ctrl-shift-g STILL say "No matches found"

For the above two tests, it seems somehow the backwards search is confusing things? There are funny things happening even before the Restart button step.

Test case 3:
  1. open search.epub
  2. type ctrl-f
  3. type "the" and hit enter - finds "the" in Section0001
  4. type ctrl-g - finds "the" in Section0002
  5. type ctrl-g - finds "the" in Section0003
  6. type ctrl-g - finds "the" in Section0004
  7. type ctrl-g - finds "the" in Section0005
  8. any repeats of ctrl-g or ctrl-shift-g say "No matches found" (as expected?)
  9. hit "Restart" button in search box
  10. any repeats of ctrl-g or ctrl-shift-g STILL say "No matches found"

I can usually get search to work again with some combination of the "Restart" button and ctrl-f/enter but not in a predictable way. Sometimes just ctrl-f/enter works, others I need a Restart before or after the ctrl-f/enter.
Attached Files
File Type: epub search.epub (3.0 KB, 163 views)

Last edited by snarkophilus; 03-05-2022 at 05:34 AM. Reason: Mention backwards search confusion.
snarkophilus is offline   Reply With Quote
Old 03-05-2022, 09:23 AM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
What did you set the controls to prior to hitting find? Specifically, the direction, and Target Set of Files to Search?

Edit:

Oh you are telling it to search down via the pulldown but then to find the previous search at the same time. So it wraps around to the bottom of the last file and starts looking up.

The key is the search direction is not being properly set when you use the keyboard shortcuts. Nor is the Restart flag being checked when the keyboard shortcut is used. Any change in direction actually restarts the search automatically but that is not being hit via the shortcut routines.

I will look into it.

The only workaround is to set the direction in Find and Replace directly and use its Find button and it should always work properly.

Last edited by KevinH; 03-05-2022 at 01:00 PM.
KevinH is online now   Reply With Quote
Advert
Old 03-05-2022, 11:36 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,568
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
As a result of following @snarkophilus' instructions, I've discovered that Sigil (Qt6) crashes on Linux whenever the "hit enter" step occurs!

Not sure yet if it's related to the latest changes, or if it's Qt6-related, or just something that has gone unnoticed for a while. Since "hit(ting) enter" is unnecessary after typing the search criteria, it's not something I ever do. Immediately hitting "Find" (or ctrl+g, or ctrl+shift+g) is sufficient to go from typing to finding the first occurrence. No need to hit enter in that situation (though it definitely shouldn't crash, either).

I'll work on ruling out (or confirming) Qt6 and/or the recent search changes in 1.9.0/1.9.1 as the cause of the crash.

It would also seem that the "Wrap" checkbox has some effect on the wonkiness experienced when using the keyboard shortcuts for find next/find previous.

Last edited by DiapDealer; 03-05-2022 at 11:42 AM.
DiapDealer is online now   Reply With Quote
Old 03-05-2022, 11:50 AM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
I have pushed a potential fix to master for what snarkophilus reported - but not for the crash in Qt6 linux. The fix properly sets the direction indicator to match the Next or Previous key shortcut used so that Find and Replace can actually do the right thing. As well as making it check on the status of the Restart Flag they way the main FR buttons do.

I really have no ideas why "hitting enter" should have an impact other than accepting the default button or the default Find/Replace completion.

Some gdb backtraces might help.

I think we may need a Sigil-1.9.2 (if only snarkophilus's bug report had come in 24 hours earlier!).

Last edited by KevinH; 03-05-2022 at 12:37 PM.
KevinH is online now   Reply With Quote
Old 03-05-2022, 12:25 PM   #8
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
On Linux, is this crash on Qt 6.2.2 or 6.2.3 or some other Qt 6 version?

Last edited by KevinH; 03-05-2022 at 01:10 PM.
KevinH is online now   Reply With Quote
Old 03-05-2022, 12:45 PM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
Unless it is a focus issue? I just tried building master on Qt 6.2.3. on Mac and running snarkophilus's test case on his search.epub and hitting enter after typing "the".

No Crash on macOS with or without Wrap. So my guess is this is a Linux with Qt6 issue and not all Qt6 platforms have that issue. Or your Linux box is using a different version of Qt 6 than 6.2.3?
KevinH is online now   Reply With Quote
Old 03-05-2022, 03:25 PM   #10
TheLocalPooh
Junior Member
TheLocalPooh began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2022
Device: Kindle 3 (keyboard)
What did you think, how do I interpret this: "Allow creation of a Windows 7 Legacy Installer..."
I launched the new x64 installer, err msg pops up: "This program does not support the version of Win your computer is running." No option to choose…
My OS is Win7-x64 SP1

Thx, TLP
TheLocalPooh is offline   Reply With Quote
Old 03-05-2022, 03:26 PM   #11
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
@snarkophilus and other interested parties
I have created new test builds from master and uploaded them to my BuildSigilOnMac repo:

https://github.com/kevinhendricks/Bu...OnMac/releases

Downloads for Mac and Windows:

Sigil-master-6148240-build_num-370-Mac.tar.xz
Sigil-master-6148240-build_num-370-Win-Setup.exe

Please test this new build with your test case to verify it does what you want when using keyboard shortcuts to Find and Replace.

Please let us know if this one finally works correctly or if you find more errors.

Thank you for your test case epub and bug report!

Last edited by KevinH; 03-05-2022 at 03:45 PM.
KevinH is online now   Reply With Quote
Old 03-05-2022, 03:29 PM   #12
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
That means we have modified our sources so that a build with Python 3.8.X is still possible.
To get that you need to download the legacy installer. The regular installer still uses Python 3.9.9 and so will not work on Windows 7. Only the special legacy build will do so.

Sigil-1.9.1-Windows-Legacy-Setup.exe

Quote:
Originally Posted by TheLocalPooh View Post
What did you think, how do I interpret this: "Allow creation of a Windows 7 Legacy Installer..."
I launched the new x64 installer, err msg pops up: "This program does not support the version of Win your computer is running." No option to choose…
My OS is Win7-x64 SP1

Thx, TLP
KevinH is online now   Reply With Quote
Old 03-05-2022, 05:36 PM   #13
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by DiapDealer View Post
Since "hit(ting) enter" is unnecessary after typing the search criteria, it's not something I ever do.
My enter key is a lot easier to type than my ctrl-g key. And mouse buttons are a last resort.

For epubs I really like where I have the dead tree version, I often get all anal and fix typos in the ebook (anyone else noticed that publisher epubs seem to be lower quality than dead tree books like that!?!?!). So it's ctrl-f, type a word or phrase, then hit enter. Depending on the change it's then a lot of ctrl-g/ctrl-shift-g to see if same mistake is in other places in the book.

Quote:
Originally Posted by KevinH View Post
(if only snarkophilus's bug report had come in 24 hours earlier!).
Daughter visiting from interstate took precedence over making a simple test case .

Quote:
Originally Posted by KevinH View Post
@snarkophilus and other interested parties
I have created new test builds from master and uploaded them to my BuildSigilOnMac repo:

https://github.com/kevinhendricks/Bu...OnMac/releases
This works as expected. Thanks Kevin!

My previous talks about wanting a "non-Restart-needed" mode I think might have have been driving mostly/entirely by this bug when I was playing with 1.9.0. At worst I can do a ctrl-g/ctrl-shift-g from my current position to see if there are any other matches anywhere in a book without needing to touch the mouse. But in general, not having ctrl-shift-g confuse the search position should cover most cases. Thanks again!
snarkophilus is offline   Reply With Quote
Old 03-05-2022, 06:41 PM   #14
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Using the version from message #11, I'm finding one oddity. In an eub I was editing, I wanted to search in both CSS files for 'first-letter-h'. So I entered 'first-letter-h' in the find box, set the file selection to All CSS files, and clicked find. No Matches found was returned. Now I clicked on Count All and it returned 2. This was with the focus on a .xhtml files. I then opened one of the CSS files and Find and Count All both found two instances. On the other hand, if I have a CSS file open and select search in All HTML files, the search works as expected.

Edit: Even weirder. If I change the find box to 'first-letter', it works even if I start the search with the focus on a xhtml file.
Attached Thumbnails
Click image for larger version

Name:	count_all.png
Views:	152
Size:	10.6 KB
ID:	192587   Click image for larger version

Name:	find.png
Views:	146
Size:	10.6 KB
ID:	192588  

Last edited by DNSB; 03-05-2022 at 06:45 PM. Reason: Edit: found an oddity in the oddity
DNSB is offline   Reply With Quote
Old 03-05-2022, 06:53 PM   #15
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,568
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
So my guess is this is a Linux with Qt6 issue and not all Qt6 platforms have that issue. Or your Linux box is using a different version of Qt 6 than 6.2.3?
Same Sigil code with Qt5.15.2 on Arch = no crash. So while we still need to look into why it crashes with Qt6.2.3, it's not an emergency.
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-1.9.0 Release DiapDealer Sigil 101 03-11-2022 07:20 PM
Sigil-1.8.0 Release DiapDealer Sigil 59 12-24-2021 10:38 PM
Sigil-0.9.0 Release KevinH Sigil 76 11-14-2015 06:45 PM
New Sigil Release: Sigil-0.8.901 KevinH Sigil 137 11-03-2015 09:42 AM
Sigil 0.2.0 Release Candidates Valloric Sigil 46 05-10-2010 09:55 PM


All times are GMT -4. The time now is 09:48 AM.


MobileRead.com is a privately owned, operated and funded community.