ailiboy / ebookdroid

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

100MB+ cbr hangs the app #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Trying to open a .cbr that's 100MB or bigger makes the app hang.

What is the expected output? What do you see instead?
Version 1.2.2 opens the huge .cbr fine, but 1.3.1 hangs.

What version of the product are you using? On what operating system?
Version 1.3.1 on android 2.3.6 kernel version 2.6.35.7

What device are you using?
Samsung Galaxy S2

Please provide any additional information below.
EbookDroid 1.2.2 installed on SD card works fine. Updating to 1.3.1 makes the 
app show the spinning thing. Waited more than a minute for the app to render 
the image. Switched back to 1.2.2 and it opens the .cbr, switched back to 1.3.1 
and it hangs. Switched back to 1.2.2 and I can open the .cbr again. The .cbr 
contains .jpg images.

Original issue reported on code.google.com by aliupe...@gmail.com on 18 Jan 2012 at 3:41

GoogleCodeExporter commented 9 years ago
Are you sure that is actually HANGS? First open of such big file can be long. I 
think we need to improve progress indicator to show some changing values:)

Original comment by Andrei.K...@gmail.com on 18 Jan 2012 at 7:44

GoogleCodeExporter commented 9 years ago
I retested version 1.3.1 and you are correct it does not hang. It took 90 
seconds for the first image to show up. In version 1.2.2 it comes us in a 
couple of seconds.

Original comment by aliupe...@gmail.com on 20 Jan 2012 at 1:08

GoogleCodeExporter commented 9 years ago
After CBR file opened for the first time, try to close EBookDroid and reopen 
again the same file.

On first open EBookDroid scans the whole file and gets dimensions of all pages. 
After that it stores them separately and does not rescan whole file in the 
future.

Original comment by Andrei.K...@gmail.com on 20 Jan 2012 at 7:32

GoogleCodeExporter commented 9 years ago
You are correct. After the CBR file opened, I closed Ebookdroid and the same 
file reopened fast. 

It's not a huge problem because I can keep using 1.2.2. I don't have enough 
patience for that initial load. :) You can close this issue. Thank you for your 
time!

Original comment by aliupe...@gmail.com on 21 Jan 2012 at 1:25

GoogleCodeExporter commented 9 years ago

Original comment by Andrei.K...@gmail.com on 24 Jan 2012 at 8:44