GNOME Bugzilla – Bug 95026
Calling gtk_window_resize with present window size causes futher resize attempts to fail
Last modified: 2011-02-04 16:10:07 UTC
If one tries to "resize" a window to it's present size further calls to gtk_window_resize don't resize the window.
Created attachment 11423 [details] Test case showing the problem
About to attach what I think is the correct fix. Could you review the patch, Havoc?
Created attachment 11425 [details] [review] Probable fix
Looks right, the block in the other half of the if/else also sets position_constraints_changed = FALSE, should we do that here also? Here's the other block: info->position_constraints_changed = FALSE; info->initial_pos_set = FALSE; info->resize_width = -1; info->resize_height = -1;
Created attachment 11437 [details] [review] Another attempt, this time more comprehensive
Mon Oct 7 12:40:39 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_move_resize): Clean up the handling of clearing transient state settings, fixing bug #95026, reported by Jami Pekannen.