Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZIM file with limited number of PDFs engages in unlimited scrolling #88

Closed
Popolechien opened this issue Sep 3, 2024 · 2 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@Popolechien
Copy link

Generated https://s3.us-west-1.wasabisys.com/org-kiwix-zimit/other/nautilus_f5881f68-940e-4c4a-a3d5-029424d4b0fa_b35e0d75f1da4d589689785284e915bd.zim with about 20 PDF files or so.

The resulting zim files works (ie I can read each PDF using either Kiwix-JS or Apple), but the ZIM I can scroll endlessly, which is a weird occurence (and particularly confusing since there is no order to the files, as mentioned in #85

@Popolechien Popolechien added the bug Something isn't working label Sep 3, 2024
@rgaudin rgaudin transferred this issue from openzim/nautilus Sep 3, 2024
@rgaudin
Copy link
Member

rgaudin commented Sep 3, 2024

Sorry my answer to #85 is partly incorrect. I was responding to the order in the collection but the display order in current nautilus is under the influence of random option (on by default, disabled with --no-random).
The infinite scroll is due to the fact that random is ON and pagination is lower than your number of entries. --pagination is set at 10 by default.

This is the normal behavior of nautilus.

The difference is that nautilus-webui doesn't allow you to change those options and thus uses the default values.

There are three ways out of this which can be complementary to each other over time:

  • set better default for the webui (like --no-random, --pagination 40).
  • allow setting some params. None were planned in the mockup. I added main-logo but there are others: --no-random, --pagination, --show-description, --zim-file (recorded but not passed to zimfarm),--locale, --longdescription, --main-color, --secondary-color, --about.
  • wait for UI makeover nautilus#73 to be settled and implemented as all those options would be removed.

@rgaudin rgaudin added question Further information is requested and removed bug Something isn't working labels Sep 3, 2024
@rgaudin
Copy link
Member

rgaudin commented Sep 3, 2024

Turning this into a question and closing as there is nothing specific to do

@rgaudin rgaudin closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2024
@rgaudin rgaudin self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants