readium / swift-toolkit

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

Missing search results in the Test App #371

Open mickael-menu opened 6 months ago

mickael-menu commented 6 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.

Originally posted by @morismoris in https://github.com/readium/swift-toolkit/issues/293#issuecomment-1859971943

mickael-menu commented 6 months ago

This seems to be an UX issue in the Test App, the search API in the toolkit is working correctly.