Quote:
Originally Posted by droopy
Hi Kovid developer,
I searched for some text in a book and it found it. But it says
"This text is hidden and cannot be displayed".
Please see screenshot.
Using Calibre 6.20.
|
Looks like a bug to me.
When searching for a term that is not visible on the viewer, you get that message. The numbers are probably hidden either by CSS (display: none) or using the HTML 'hidden' property. But that should not affect searching for the term near it, hence the bug.
Test case:
Code:
<p>Ordinary text being displayed.</p>
<p style="display:none">Hidden text</p>
If you search for 'Ordinary text being displayed', you get that same error. I think that's because calibre also get the surrounding context when displaying the searched term. And when it gets a hidden text for context, then the bug occurs.