Hentoid icon indicating copy to clipboard operation
Hentoid copied to clipboard

Gallery view not being loaded properly, zip archive

Open T50-La opened this issue 8 months ago • 1 comments

Hentoid v1.20.10 (774)

Motorola Edge Plus / Android-12

(The below described should at least be true when the pages are in .webp format)

  1. In any .zip archive, open the gallery view (the expected result is that all pages being loaded for preview, which isn't the case see next step).

  2. Notice that only some pages was loaded, try to click on an empty (black) page and see that it and it's closest pages are being loaded (maybe into the RAM of the device?). Repeat this until there are no black pages left.

  3. When all pages of an archive has been loaded using the above described method exit the whole book and return to the library screen. This should clear the loaded pages and when you return to the same book the pages should again be black with the exception of the page that got loaded ("extracted") when you opened the book together with the pages closest to it.

T50-La avatar Mar 05 '25 08:03 T50-La

That one's more like an UI design problem than a bug.

It's completely voluntary that only cached pics are showing up on the gallery screen.

If we were to show every thumbnail, that would require to unzip everything, which completely misses the point of streaming archive files. But the UI doesn't account for this and makes it look like a bug

Possible solution : add two placeholders: one to indicate that the thumbnail is loading and should show up (maybe animated?) and another to indicate that those thumbnails aren't expected to populate on their own (maybe something like the classic folder with a zipper or folder in a vice to remind the user they're viewing an archive file)

RobbWatershed avatar Mar 09 '25 13:03 RobbWatershed