ailiboy / ebookdroid

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

Hardware acceleration seems to introduce strange behaviours #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a PDF
2. Just change pages
3. Try zoom too

What is the expected output? What do you see instead?

 - With hardware acceleration enabled, sometimes it renders the same page after two page changes (ex. you're on page 1, scroll to page 2, scroll to page 3 but page 3 is the same of page 1). Zooming in and out sometimes renders the correct page. In others cases the page is rendered as a "mosaic" of different slices (sometimes of other pages).

What version of the product are you using? On what operating system?

tried with both rev. 675 and rev 688. With 675 the it renders always the same 2 
pages, with 688 it renders the "mosaic" of slices. The operating system is: 
Android 3.2.1
What device are you using?

Please provide any additional information below.

Device is Asus eeePad Transformer

Original issue reported on code.google.com by ArT...@gmail.com on 22 Dec 2011 at 6:04

GoogleCodeExporter commented 9 years ago
Pls try the r692:
http://code.google.com/p/ebookdroid/downloads/detail?name=ebookdroid-1.3.0-dev-r
692.apk&can=2&q=#makechanges

Original comment by Alexander.V.Kasatkin@gmail.com on 23 Dec 2011 at 10:43

GoogleCodeExporter commented 9 years ago
Ok, that's good. Why do i see all these black lines while zooming? Are they for 
debugging purpose?

Original comment by ArT...@gmail.com on 23 Dec 2011 at 2:18

GoogleCodeExporter commented 9 years ago
What do you mean by "black lines"? Can you attach a screenshot?

Original comment by Andrei.K...@gmail.com on 23 Dec 2011 at 2:39

GoogleCodeExporter commented 9 years ago
Yes, i took the screenshot. This happens when you zoom the page: some black 
lines appear on the page creating "squares" (they seems slices edges).
Usually they disappear when the decoding is completed, but sometimes they 
remain on the screen. By the way, they give a ugly effect to the zoom action.

Original comment by ArT...@gmail.com on 23 Dec 2011 at 3:39

Attachments:

GoogleCodeExporter commented 9 years ago
OK. It seems to be a bug with rounding coordinates of slices. We'll fix it.

Original comment by Andrei.K...@gmail.com on 27 Dec 2011 at 6:55

GoogleCodeExporter commented 9 years ago
r700:

http://code.google.com/p/ebookdroid/downloads/detail?name=ebookdroid-1.3.0-dev-r
700.apk&can=2&q=#makechanges

Original comment by Alexander.V.Kasatkin@gmail.com on 27 Dec 2011 at 10:17

GoogleCodeExporter commented 9 years ago
There's still some problem. Frames with big black borders appear on the screen 
while zooming and they stay on it until the page is fully rendered. I posted a 
screenshot.

Original comment by ArT...@gmail.com on 9 Jan 2012 at 1:42

Attachments:

GoogleCodeExporter commented 9 years ago
Yes. Such black frames can be while page is rendering. If there are no such 
frames after page is rendered it is not a bug.

Original comment by Andrei.K...@gmail.com on 9 Jan 2012 at 8:08

GoogleCodeExporter commented 9 years ago
r713:

http://code.google.com/p/ebookdroid/downloads/detail?name=ebookdroid-1.3.0-dev-r
713.apk&can=2&q=#makechanges

Original comment by Alexander.V.Kasatkin@gmail.com on 11 Jan 2012 at 11:14

GoogleCodeExporter commented 9 years ago
 Seems to be resolved.

Original comment by Andrei.K...@gmail.com on 13 Feb 2012 at 8:53