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.
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.
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
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)
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.
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.
*** Bug 11233 has been marked as a duplicate of this bug. ***
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.
(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.
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.
ristretto 0.8.2 seems to be opening fine all those gif files, could you please check?
The gif from #11233 is now rendered fine on 0.8.2