GNOME Bugzilla – Bug 81059
ugly resizing from left/top
Last modified: 2004-12-22 21:47:04 UTC
I received this report from Debian user: Subject: Bug#145376: gtk2.0-examples: "Button Boxes" demo: ugly vertical resizing From: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr> To: Debian Bug Tracking System <submit@bugs.debian.org> Date: Wed, 01 May 2002 12:23:22 +0200 Hi, in the gtk-demo "Button Boxes" demo, when I resize the window vertically (with an "opaque resize" window manager), the motion of buttons is not smooth at all. and: Date: 02 May 2002 14:40:27 +0200 AT> First, you should indicate your machine spec, shouldn't you? Athlon XP1600+, 256MB DDR-SDRAM, Radeon VE, so it *is* fast enough :>. AT> You mean are you saying GTK+2.0 is heavy? Not at all. At least on this kind of machine. I'm just observing a difference in behaviour between horizontal and vertical resizing of this "Button Boxes": - horizontal resizing is very smooth - vertical resizing: buttons jump as if there were (temporary) errors in the buttons coordinates.
My guess is that the difference is that resizing horizontally is being done from the right while resizing vertically is being done from the top. Try resizing horizontally from the left and you'll see the same problems... the jumping comes from the window being first moved, then resized, which means that right/bottom aligned elements move then move back. Trying to fix this requires cooperation from the window manager, see: http://mail.gnome.org/archives/wm-spec-list/1999-November/msg00088.html And is really outside the scope of GTK+.
I confirm that Owen Taylor's analysis is right: - when I resize the window from the right or bottom border it is smooth - when I resize the window from the top or left border, it is jerky Therefore I will reassign the Debian bug to kwin/kdebase...