readium / swift-toolkit

A toolkit for ebooks, audiobooks and comics written in Swift
https://readium.org/mobile/
BSD 3-Clause "New" or "Revised" License
256 stars 101 forks source link

Search result titles are missing #293

Closed ad-proximate closed 9 months ago

ad-proximate commented 1 year ago

Bug Report

Searching inside any epub the result mostly doesn't provide the title value while the same search on android provide titles.

What happened?

Start a search inside an epud book.

Expected behavior

Every item in the search result array should provide appropriate title value.

How to reproduce?

Start a search.

Environment

any iOS

Development environment

Testing device

Additional context

mickael-menu commented 1 year ago

Do you have a test EPUB that could be used to reproduce the problem on iOS, that shows titles on Android?

morismoris commented 9 months ago

Hi, you can reproduce the problem with the TestApp (app version 2.6.1), with the ePub: "Voyage au centre de la terre" (OPDS 2.0 Test Catalog) searching the keyword 'science'.

Making a text search inside an ePub, sometimets I got only one result, but there are many.

Moreover during the digitation it will show some correct result that contain entirely the searching word, but for any pressed key, they will be hidden or shown without any apparent logic.

Finally, if I tap on the result, I'll go to the correct page and here if I repeat the search I'll got all the results.

mickael-menu commented 9 months ago

That sounds like a different issue, I'll open a new one and close this one as I didn't get any answer from @ad-proximate.

Moreover during the digitation it will show some correct result that contain entirely the searching word, but for any pressed key, they will be hidden or shown without any apparent logic.

I don't understand what you mean. Could you record a screencast to show the problem?