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]: Lexicographic sorting of pages inside a manga chapters loads pages out of order #206

Closed
1 task done
TyrantRC opened this issue Feb 20, 2024 · 2 comments
Closed
1 task done
Assignees
Labels

Comments

@TyrantRC
Copy link

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

OpenComic Version

1.1.0

Operating System

Windows 10 Pro N 22H2 19045.4046

Steps to reproduce

  1. add a comic where the pages are numbered without numbering padding, as in 1.png, 2.png, 3.png, ..., 10.png
  2. open comic
  3. pass through the pages

Expected Behavior

OC (as almost every other reader) should organize pages using numerical (key) sorting so that it shows the pages in this order:
1.png, 2.png, 3.png, 4.png, 5.png, 6.png, 7.png, 8.png, 9.png, 10.png

Actual Behavior

it organizes pages with lexicographic sorting, so it thinks 10 comes before 2, 20 before 3, and so on
image

Error message

No response

Additional Information

I know this can be fixed by renaming all the pages with numbering padding (001, 002, 003, etc) but not everyone is tech-savvy enough to know how to use a renamer app. This is expected in modern readers, here are some examples of other readers:
Honeyview

Houdoku

Kavita

Yomikiru

Sample file

No response

@TyrantRC TyrantRC added the bug label Feb 20, 2024
@ollm ollm self-assigned this Feb 22, 2024
@ollm
Copy link
Owner

ollm commented Feb 22, 2024

It looks like you have sort by name selected, you would need to change to Number or Name / Number to correct this.

Captura desde 2024-02-22 16-15-38

@TyrantRC
Copy link
Author

TyrantRC commented Feb 22, 2024

You are right, for some reason, It didn't connect in my brain that those settings are for the reader as well, I thought it was only for sorting the library.

May I suggest changing the tooltip to something like "Sort folders, files or pages" instead of just "Sort". It really wasn't intuitive for me.

Thanks for responding, your reader is awesome, the best one I've tried from all the popular ones.

@TyrantRC TyrantRC closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants