GNOME Bugzilla – Bug 90383
When keyboard resizing, weird max size gets imposed
Last modified: 2004-12-22 21:47:04 UTC
If I do keyboard resize and move the bottom edge of an xterm way down, then way up, then try to go down, some kind of limit on downward movement seems to get imposed and the window can't be made larger.
This is caused by the so called "smart snap" resizing. In keybindings.c process_keyboard_resize_grab() we are attempting to snap to an edge since the resize to the edge is smaller than the standard resize increment. i.e.: if (smart_snap || ((edge < (y+height)) && ABS (edge - (y+height)) < height_inc)) height = edge - y; However later in meta_window_move_resize() we end up calling constrain_size() which ends up making the actual window height less than the desired edge. The next time process_keyboard_resize_grab() we try to snap to the edge again and the cycle repeats.
This code is stuff that should get unhosed a bit when I finish the constraints.c hacking
*** Bug 90581 has been marked as a duplicate of this bug. ***
Batch adding GNOME2 keyword to Metacity bugs. Sorry for the spam.
this appears to be fixed with the constraints.c update.