07-13-2016, 12:32 PM | #1 |
Connoisseur
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
Sigil Book View mode. Search stop / infinite loop.
Occurs on searching for one or more characters in the Book View mode.
- If a character(s) occurs once and the latest in the line, then there is a full stop searching. - If the character(s) in the line occurs more than once (and one of it is latest in the line), then there is a infinite loop on this string. The problem occurs only when the search direction is "downwards" and not on every html tag. Try to find "y" ("ay","day") in the attached file (in the Book View mode). PS It looks like search function sometime begins from begining of the line, not from next char... |
07-13-2016, 01:15 PM | #2 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
To be fair: searching in Book View hasn't really been supported for quite some time. In fact, I was under the impression that searching automatically switched from Book View to Code View, but that appears to only be on "All HTML files" or "Selected Files." Not sure why it doesn't switch when searching the "Current File" (or if it's supposed to, or if it ever did).
But either way, it definitely shouldn't be hanging things. I'll see if I can duplicate the issue when I get a little time. Last edited by DiapDealer; 07-13-2016 at 01:18 PM. |
Advert | |
|
07-13-2016, 04:56 PM | #3 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
And in Code View mode, it'll find all occurrences. At least I wasn't able to duplicate your problem. Can you please post detailed steps to reproduce this issue? |
|
07-13-2016, 06:02 PM | #4 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
When I do any find on your sample whilst in Book View Sigil switches to Code View. I couldn't get the 'looping' condition - what do you mean by that, i.e. what are the symptoms, and on what OS. I have Sigil on Windows 10. BR |
|
07-13-2016, 06:10 PM | #5 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You guys can't get it to stay in Book View when the search options are set to "Current File"? I expected it to switch to Code View as well--but it didn't. It only switched to Code View when "All HTML Files" or "Selected Files", was chosen. But "Current File" allowed the search to proceed in Book View for me (on Linux and Windows). I was kind of surprised by it, to tell the truth. It makes a bit of sense, though. "Current File" is the only way to search css files. I just assumed html files would always switch to Code View. Shows what I know!
Last edited by DiapDealer; 07-13-2016 at 06:12 PM. |
Advert | |
|
07-13-2016, 07:05 PM | #6 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
I can duplicate this. I created another test EPUB with this code:
Spoiler:
Sigil's Book View search works fine on <p> + <div> + <blockquote> + <ul>/<ol>/<li>. The search seems to break when:
The search seems to work perfectly normal if you are searching for something like the "o" in today. |
07-13-2016, 07:40 PM | #7 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
But it's not really "hanging," or stuck in a loop is it? It just stops finding any further occurrences until you move the cursor, right?
|
07-13-2016, 08:40 PM | #8 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
You would have to then move the cursor to the next line and continue your search. |
|
07-14-2016, 02:12 AM | #9 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
07-14-2016, 02:29 AM | #10 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Probably a better choice would have been the search gets "stuck" at the end of a line, and the way to get it "unstuck" is to move the cursor beyond that point, then continue searching. |
|
07-14-2016, 02:57 AM | #11 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
07-14-2016, 03:33 AM | #12 | |
Connoisseur
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
Quote:
|
|
07-14-2016, 04:05 AM | #13 |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Don't apologize. Nothing to be sorry for. I just got...confused, in trying to find the loop. I'm actually glad it's NOT a loop. Loops, at my shop, seem to come from the Devil himself. STUCK is something that we can at least work around, until a resolution is found.
Hitch |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony PRS T1 - Infinite Reboot Loop on Opening Book | marcuslemonis | Sony Reader | 20 | 02-19-2015 10:18 AM |
Aura HD infinite loop reboot | tuxpeppe | Kobo Reader | 1 | 09-01-2013 01:36 PM |
Sigil highlight Book View No Longer Shows in Code View | Themus | Sigil | 4 | 10-04-2012 07:54 PM |
Infinite Loop During Software Upgrade | ApplebyCollege | enTourage Archive | 3 | 04-13-2010 08:43 PM |
Infinite loop and not start - Help! | junior | Bookeen | 13 | 08-23-2008 05:16 PM |