![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2017
Device: phone
|
Sigil 0.9.9 freezes after search
If I preform a search and a match is found, Sigil highlights the match, then when
I try to click in the window to edit the text it takes about 10 seconds before Sigil reacts to the mouse click. Also, clicking on any menu items displays the same behavior. Anyone else experiencing this problem? I'm running Windows 10 Build 17604 on a Lenovo T420 i7 8GB 1TB SSD. Sigil is the only application that elicits this behavior. ![]() |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Could be dependent on the EPUB. Does this happen on every EPUB?
Or is this one very giant HTML file? That's the only time I've seen Sigil really chug. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2017
Device: phone
|
Quote:
There isn't any CSS formatting and only the cover image. There is one xhtml file for the cover and one html file for the actual publication. If I edit the html file in Sublime 3 it goes quickly. |
|
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,485
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Run Mend XHTML on the one big html page and try the search again. Is the delay still apparent? Some html files have no newlines in the code and since Sigil does syntax highlighting and is a line based editor, it will be an issue. Running Sigil’s Mend on that html file will fix that.
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2017
Device: phone
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I thought I may have noticed similar behavior recently myself (menus slow to respond, slow updates after a file rename, etc...). But I chalked it up to my old Windows machine and an omnibus epub. It wasn't consistently happening, but it did catch my attention as a bit odd--something I wasn't used to in the past under similar conditions.
I'll check it a little harder when I get a chance. |
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,485
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I am not seeing this on my Mac OSX Development machine with any epub I have tested with so I can not recreate this at all.
Would you please provide a test epub (in the public domain or pm to KevinH and DiapDelaer a private url) with the specific search query used. If we can recreate we can probably track it down. |
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
I just took an omnibus and merged it so the text would be split into three parts:
1930s-1960s: ~2.6MBs 1970s: ~3.1MBs 1980s: ~740KBs When you have the larger HTML files open in Code View, you can feel noticeable slowdown. Definitely opening/closing menus, and anything you click on becomes sluggish. This is Windows 10, 64-bit, Sigil v0.9.9 (no funny business, just the official download). Quote:
I've noticed the sluggishness really creep in with HTML files that are >~2MB mark, and once they are split down into more reasonable chunks, Sigil handles them perfectly fine. Last edited by Tex2002ans; 03-01-2018 at 06:18 PM. |
|
![]() |
![]() |
![]() |
#9 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,313
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
It's not limited to a badly coded large file, either...any old large file will do. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil Book View mode. Search stop / infinite loop. | brolny | Sigil | 12 | 07-14-2016 04:05 AM |
Sigil 0.5.3: Remarks on search function | DrChiper | Sigil | 8 | 10-12-2012 01:43 PM |
wildcards in search-replace sigil 0.4905? | Capricorn | Sigil | 13 | 01-19-2012 08:22 PM |
Sigil freezes when I + HTML ebook. | Anarel | Sigil | 4 | 08-16-2010 11:13 AM |
sigil 0.1.5 crashes on search | bobcdy | Sigil | 7 | 11-28-2009 01:59 PM |