OpenComic
OpenComic copied to clipboard
[Bug]: Lexicographic sorting of pages inside a manga chapters loads pages out of order
Preflight Checklist
- [X] 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
- add a comic where the pages are numbered without numbering padding, as in 1.png, 2.png, 3.png, ..., 10.png
- open comic
- 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
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