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

[Bug] Reader occasionally sorts by download-order and not filename order #6722

Open
Nivyan opened this issue Jan 26, 2024 · 1 comment
Open
Labels
Bug Flaw, Failure or Fault leading to incorrect or unexpected Results

Comments

@Nivyan
Copy link

Nivyan commented Jan 26, 2024

Did you read the troubleshooting guide
Yes

Describe the bug
When downloading a new chapter, the pages are sometimes in the wrong order. It seems that the reader mistakenly orders them by the order each page is downloaded instead of by filenames. Restarting HakuNeko fixes the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Concurrent Downloads in settings
  2. Batch-download a manga of choice/multiple chapters
  3. Notice some pages are in the wrong order in the reader
    (4. Most often, Page 0 is the wrong page. Longer chapters have more frequent pages in the wrong order)
  4. Restarting HakuNeko fixes the order.

In my case, I tested with Yamada to Kase-san from MangaDex and Mangakalot respectively. Yamada to Kase-san has an easily-recognizable first page each chapter, so it was easy to find pages being in the wrong order. But I've experienced the same issue with LilyManga, MangaSee and Batoto.

Expected behavior
The chapter' pages to be in the filename order when viewing in the reader.

Context (please complete the following information):

  • OS: Tested on Windows 10 & Windows 11
  • HakuNeko Version 6.1.7@d81c39

Additional context
The filenames themselves are always in the correct order.

Suggested fix: Sort pages by filename after a chapter download is complete.

Concerns: I imagine that refreshing/reloading the reader might disrupt reading a chapter while a chapter finishes downloading.

@Nivyan Nivyan added the Bug Flaw, Failure or Fault leading to incorrect or unexpected Results label Jan 26, 2024
@Sheepux
Copy link
Contributor

Sheepux commented Jan 28, 2024

wont fix (hakuneko is deprecated in favor of haruneko) , only connectors are sometime maintained. Probably not hapening in haruneko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Flaw, Failure or Fault leading to incorrect or unexpected Results
Projects
None yet
Development

No branches or pull requests

2 participants