GNOME Bugzilla – Bug 766643
Frozen windows when unmapped with pending configure event
Last modified: 2016-05-25 00:51:26 UTC
When GtkWindows are resized, gtk_window_move_resize() will call
gdk_window_freeze_toplevel_updates() . The intention is that
gdk_window_thaw_toplevel_updates() will be called when the associated
(or another) configure event is received .
However, when gtk_window_unmap() is called before the configure event is
received, it resets configure_request_count to zero , and so
gtk_window_configure_event() will not call gdk_window_thaw_toplevel_updates().
Remapping the window just provides a frozen window.
Discovered by Andrew Comminos .
Looks like this goes back to .
Pushed this fix in the hope that it solves things. Please test and reopen if not.
Author: Benjamin Otte <email@example.com>
Date: Wed May 25 01:16:52 2016 +0200
window: Unfreeze window on unmap
Make sure to keep parity with the number of times we froze the window
when we unmap it.
Otherwise it will permanently stay frozen after being remapped.
Works perfectly, thanks Benjamin!