GNOME Bugzilla – Bug 644286
Window resize is jumpy with WIN_POS_CENTER_ALWAYS
Last modified: 2018-02-10 03:33:05 UTC
Created attachment 182933 [details] Demonstration of jumpiness Running the attached script on Windows (XP) brings up a resizeable window. While dragging one of the corners to resize, the entire window is constantly jumping between two positions: centered on its original location, and where it would be if set_position() had not been called. It's quite hard to describe, but it is consistently reproducible on multiple machines. I can send in a video if need be...
Just checked with 2.22.6, and it's still the case.
Created attachment 182944 [details] minimal test program in C A minimal test program in C has the same problem, tested with gtk+-bundle_2.22.1-20101227_win32 on Windows XP: 1) gcc -Wall -ggdb test.c -o test `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0` 2) ./test.exe 3) resize the window and observe the "jumpyness" It looks like one part of GTK+ attempts to center the window while resizing the window (incorrect behavior), while another part attempts to leave the topleft corner at it's original position (correct behavior). Doing the same on Linux, the topleft corner always stays at the same position.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.