GNOME Bugzilla – Bug 774755
Resizing a displayed image to 1x1 and enlarging again sends GTK2&3 into a 100% CPU loop for a minute
Last modified: 2016-11-21 10:18:10 UTC
Created attachment 340365 [details] Test program for GTK2 I have a simple app which just displays an image from a file, and when you resize the window the image scales to fit without keeping aspect ratio. If you resie the window to its minimum, 1x1, and enlarge it again, the window hangs showing just a white background for about a minute using 100% CPU and its virtual memory use goes from 46MB to 940MB. After a few seconds to a minute, it recovers, repaints and the VM usage goes back down. test programs for GTK2 and GTK3 attached.
Created attachment 340366 [details] Test program for GTK2 Ignore the first attachment image2-*; this is the right one.
Created attachment 340367 [details] Test program for GTK3
Created attachment 340368 [details] Test program for GTK2
*** This bug has been marked as a duplicate of bug 80925 ***