! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Gif images are not displayed correctly
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
Application

Comments

Description b3nmore 2013-04-07 13:46:31 CEST
Created attachment 4993 
Screenshot of ristretto (not) displaying gif.

ristretto 0.6.3 does only display a few 'lines' of a gif image. Have look at the attached screenshot.
Comment 1 Andre Miranda editbugs 2015-02-21 21:51:11 CET
I'm testing the latest from git(re0eb867) and tried a couple of gifs found on the web, all are rendered correctly.
Can you check if this bug still happens? If so, please attach the file that causes this.
Comment 2 b3nmore 2015-02-21 23:03:07 CET
Have you tried a large enough gif? You can use that one for example: https://bugs.launchpad.net/ubuntu/+source/ristretto/+bug/1315558/+attachment/4103701/+files/IMG_0140.gif
Comment 3 Andre Miranda editbugs 2015-02-21 23:08:59 CET
This one takes about 3 secs to load, blocking the UI. But is rendered without issues.
Even this animated one works here:
https://s-media-cache-ak0.pinimg.com/originals/c6/df/a2/c6dfa22150790c670c988c5196f6ba0e.jpg
(Rename to .gif)
Comment 4 b3nmore 2015-02-21 23:51:05 CET
The animated one works with the 'old' 0.6.3 too. It used to be large files, which got rendered only partially. But maybe that was fixed coincidentally.

As a last test you could convert a really huge jpeg (e.g. 20mpixel) to a gif and try, if ristretto can render it correctly. If so, I would consider this bug as closed.
Comment 5 Andre Miranda editbugs 2015-02-22 00:36:45 CET
I guess this image is good enough for testing purposes:
http://commons.wikimedia.org/wiki/File:Lexington_original_configuration_orig.gif

Here it takes ~7 seconds to open, but no rendering issues again.

I can see that an improvement would be async loading, I'll file a bug for that.
Comment 6 Andre Miranda editbugs 2015-02-22 04:09:13 CET
*** Bug 11233 has been marked as a duplicate of this bug. ***
Comment 7 Andre Miranda editbugs 2015-02-22 04:11:00 CET
Check the image attached on bug 11233, here it's *not* being rendered correctly.
Well, finally we've found an image to reproduce this bug.
Comment 8 b3nmore 2015-02-22 10:31:24 CET
(In reply to André Miranda from comment #7)
> Check the image attached on bug 11233, here it's *not* being rendered
> correctly.
> Well, finally we've found an image to reproduce this bug.

Yeah, that one isn't rendered correctly either with 0.6.3. But strangely enough only directly after opening it with ristretto. When I cycle through the images in the same folder, its rendered correctly when I hit it again.
Comment 9 b3nmore 2015-02-22 11:14:59 CET
Created attachment 5978 
ristretto rendering a gif incompletely and filling in some old data

(In reply to André Miranda from comment #5)
> I guess this image is good enough for testing purposes:
> http://commons.wikimedia.org/wiki/File:Lexington_original_configuration_orig.
> gif
> 
> Here it takes ~7 seconds to open, but no rendering issues again.

Well, then something got (partially) fixed in this respect since 0.6.3. Here it renders only the first few lines.

I've attached another screen shot of ristretto after loading the animated one from #3, the huge one from #5 and than the large one from #2. It shows, that parts of the not rendered part is filled with some data of the 1st image. Kind of a mem alloc error?

Hope that helps to pin down the root cause of this bug.
Comment 10 Igor editbugs 2017-06-07 21:39:34 CEST
ristretto 0.8.2 seems to be opening fine all those gif files, could you please check?
Comment 11 Andre Miranda editbugs 2017-06-07 22:17:38 CEST
The gif from #11233 is now rendered fine on 0.8.2

Bug #9983

Reported by:
b3nmore
Reported on: 2013-04-07
Last modified on: 2019-04-08
Duplicates (1):
  • 11233 Ristretto does not display full image of gif.

People

CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information