lh-dasherz / ebookdroid

Automatically exported from code.google.com/p/ebookdroid
0 stars 0 forks source link

CBR pages order #935

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Some CBR files have pages in incorrect order 

What is the expected output?
The order of pages should be 1,2,3,4,5.

What do you see instead?
Ebookdroid starts with page 2, then 1, then 4, then 3, then 6, then 5...like a 
manga

What version of the product are you using?
2.2.4

On what operating system?
Android 4.1.2

What device are you using?
Galaxy Tab 2 7.0 GT-P3110

Please provide any additional information below.
On the computer the pages are correctly displayed. This is the cbr: 
https://mega.co.nz/#!Mg4QyRiD!bjgIEiRj6jCKApz-CGveKFd2o7ep0isXcfVPLLM7vKY

Original issue reported on code.google.com by triump...@gmail.com on 5 Apr 2015 at 9:01

GoogleCodeExporter commented 9 years ago
Your document has following file names:

Page 2: *Page_03 copia.jpg
Page 3: *Page_03.jpg
Page 4: *Page_04 copia.jpg
Page 5: *Page_04.jpg
Page 6: *Page_05 copia.jpg
Page 7: *Page_05.jpg

When we are sorting pages we handle only names, not the extensions, also assume 
that if two strings have the same beginning then first one is the shorter.

I do not think that your document has correct page namings. 

BTW evince on my linux PC shows pages in the same order as EBookDroid.

Original comment by Andrei.K...@gmail.com on 6 Apr 2015 at 10:56