| 
			
			 | 
		#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...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				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 02:18 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763 
				Karma: 24088559 
				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?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				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  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				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 07:12 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306 
				Karma: 13057279 
				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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				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?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306 
				Karma: 13057279 
				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.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Bookmaker & Cat Slave 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503 
				Karma: 158448243 
				Join Date: Apr 2010 
				Location: Phoenix, AZ 
				
				
				Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Hitch  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306 
				Karma: 13057279 
				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.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Bookmaker & Cat Slave 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503 
				Karma: 158448243 
				Join Date: Apr 2010 
				Location: Phoenix, AZ 
				
				
				Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Hitch  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 64 
				Karma: 10 
				Join Date: Sep 2015 
				Location: Yerevan, Armenia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Bookmaker & Cat Slave 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503 
				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  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			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 11:18 AM | 
| Aura HD infinite loop reboot | tuxpeppe | Kobo Reader | 1 | 09-01-2013 02:36 PM | 
| Sigil highlight Book View No Longer Shows in Code View | Themus | Sigil | 4 | 10-04-2012 08:54 PM | 
| Infinite Loop During Software Upgrade | ApplebyCollege | enTourage Archive | 3 | 04-13-2010 09:43 PM | 
| Infinite loop and not start - Help! | junior | Bookeen | 13 | 08-23-2008 06:16 PM |