Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2020, 10:02 PM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,631
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Viewer - Hidden Text in search

Today's was my first attempt to use the Viewer's recently enhanced search feature. I'm getting lots of the following when searching ePubs for simple one word search terms.

Quote:
calibre, version 4.11.2
WARNING: Hidden text: Some search results were for hidden or non-reflowable text, they will be removed.
These were very simple books, of 4 to 6 sections/chapters/files, no pictures (not even a cover), no embedded fonts, no tables, just plain, no bold, no italics etc, text - created from very straightforward styled DOCX files.

I tried merging the xhtml files into one as I thought it might have something to do with the issue, but I still get the messages.

What I don't understand is that the 'correct' snippets are shown in the sidebar - i.e. they match what I see in Word using the same searches on the DOCX source docs. It's when I start selecting them that I get the message. Which leads me to ask, if there are instances of the search in hidden or non-replowable text why are they even in the side bar? BTW In the context of an ePub book, I don't know how to hide or create non-reflowable text.

This may be relevant: when I click on a snippet in the search sidebar, the Copy to clipboard button in the toolbar flashes. This happens whilst the viewer is getting to that location, or removing items from the search snippets list etc, this can take a second or two. Does the viewer make any 'internal' use of the clipboard - as far as I can tell it does not, so why is that button flashing one asks?

A search seems to populate an entire list of snippets considerably faster than it sometimes takes to display the page on which a selected snippet appears.

If I select another search list snippet after some have been removed, it seems to reinstate some and remove other snippets, and the text in the viewer windows is very often positioned to the very last occurrence of the search term - which was not the item I selected

MID FLIGHT UPDATE - It may have something to do with the size of the list and/or the 'speed' of navigating through it. Sometimes I can hold down F3 and traverse the entire list of ambassador's in War and Peace. Other times I can't click on two or three randomly with getting the WARNING and a depleted list. Searches with lots of snippets seem to suffer the problem more than searches with just a few snippets.

NB: the War and Peace example is an epub I got from here, I wanted to be reasonably sure that my DOCX's and conversion were not causing the problem.

BR

Last edited by BetterRed; 02-22-2020 at 10:07 PM.
BetterRed is offline   Reply With Quote
Old 02-22-2020, 10:19 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Because searching happens in two phases, one is searching the actual book text and the second is actually displaying that text rendered in the book. For various reasons, the rendered text can be hidden/not displayable, in which case the search result is removed when the viewer tries to find the displayable text and fails. However, this should be exceedingly rare in practice (I have mostly seen it on fixed layout EPUBs to date. So if you have examples of it happening, I'd like some text cases.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-22-2020, 11:08 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,631
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
So if you have examples of it happening, I'd like some text cases.
Attaching a screenshot, and book. I typed 'educat' and pressed Enter, after the list was displayed I clicked on the highlighted item.

Its possible I double clicked, but I've also had the WARNING when I've used F3/Shift+F3 to traverse the list.

When I exited the viewer I got this in a popup, I've not seen this one before

Quote:
calibre, version 4.11.2
ERROR: Failed to load file from book: Could not load the file: OEBPS/Text/09_Dedication.xhtml with error: Failed to communicate with "/book/OEBPS/Text/09_Dedication.xhtml?1582429281131", timed out after: 60 seconds
The book, temp, cache etc are on a Toshiba NVMe.M2 SSD so timing out seems odd.

BTW - I just happened to have the Wollstonecraft on my desktop as a reminder. I get the problem on every book I try, my own, as well as PD books like the Tolstoy and this one.

BR
Attached Thumbnails
Click image for larger version

Name:	Annotation 2020-02-23 144240.png
Views:	160
Size:	552.3 KB
ID:	177309  
Attached Files
File Type: epub A Vindication of the Rights of Woman - Mary Wollstonecraft.epub (430.0 KB, 99 views)
BetterRed is offline   Reply With Quote
Old 02-23-2020, 09:11 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This will be because you have turned on regex mode, that is a bit rough, its on my todo list to improve it.
kovidgoyal is offline   Reply With Quote
Old 02-24-2020, 12:29 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,631
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Correct, it was Regex. But I'm sure I changed it back to Contains.

So I just changed it again, but it didn't seem to 'stick' if I'd already done a search. So, I started over; changed it to Contains and exited, and then did a search, as a result Contains seems to have stuck -- and most importantly I'm not getting the weird warnings.

That was simple enough - thanks.

BR
BetterRed is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon eInk Devices: Hidden Text Possible? tobias.wantzen Kindle Formats 8 03-26-2017 05:44 PM
Kual shortcut for hidden image viewer (Kindle Touch & PW) Aeris Kindle Developer's Corner 0 10-12-2013 05:09 AM
Regex Solution to hidden href search? MizSuz Sigil 16 09-29-2012 07:40 PM
PDFs and Hidden Text Layers aidren enTourage Archive 4 04-14-2010 01:23 PM
Google Book Search to search full-text books online Bob Russell Deals and Resources (No Self-Promotion or Affiliate Links) 1 08-19-2006 12:13 PM


All times are GMT -4. The time now is 01:35 AM.


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