Created attachment 8325 file that does not render completely Downstream bug report - https://bugzilla.redhat.com/show_bug.cgi?id=1677889 Below is the detailed report left from an end user. Description of problem: When I view a particular GIF in Ristretto (the only one I've tried), it randomly gives up partway through rendering it, leaving a grey checkerboard pattern for the bottom part of the image. The location where Ristretto gives up is not consistent. Version-Release number of selected component (if applicable): ristretto-0.8.3-20.fc29.i686 How reproducible: Sometimes Steps to Reproduce: 1. Run ristretto on the attached GIF file (not the PNGs, which are screenshots of the problem) Actual results: The top of the image is rendered correctly, but the bottom is sometimes rendered as a grey checkerboard. (See attached PNG screenshots) Note that sometimes it renders correctly. In this case, if you click on a different thumbnail, then click back on the GIF, it may render only partially. Interestingly, the thumbnail is always rendered correctly. Expected results: The image renders correctly, every time. Additional info: * I ran this from the command line and did not see any useful diagnostic messages about errors. * The GIF in question (midibujo.gif) was generated by a program called FMSLogo running under wine. * The same GIF is rendered correctly by Firefox and GIMP. * I am running a fully patched version of FC29. * I running on a slow x86 laptop. * Fedora and xfce are great--without them I would have had to buy a new laptop long ago (several times over). * When run under valgrind, the grey checkboard looks like random memory, some but no memory corruption is reported.
Created attachment 8326 partial load in ristretto
Created attachment 8636 error rendering GIF
Created attachment 8637 original image
Found the same issue, attached an images and how it is rendered in Ristretto
Problem is not Ristretto, but rather Gdk-Pixbuf. Delay between each frame is 20 milliseconds (it is a default timeout for animation). We encounter this behaviour in all applications based on Gdk-Pixbuf. If you can, you must increase timeout value (for better render).
Igor referenced this bugreport in commit f1ab0ef82fc96d14cf73c00f55d31581734d80d9 Wait until the loader is done before getting the pixbuf https://git.xfce.org/apps/ristretto/commit?id=f1ab0ef82fc96d14cf73c00f55d31581734d80d9