Bug#452139: metacity: vertical maximization problem on dual-screen setup
ecc at cmu.edu
Tue Nov 20 18:08:33 UTC 2007
I have a dual-screen setup (using the X radeon driver's "MergedFB"
option, not Xinerama). I use "devilspie" to vertically-maximize my
When I move one of these windows to the other screen, it gets resized
vertically by 26 additional pixels, enough to put the last line below
the Gnome panel on the bottom edge.
I think this used to work fine until this version of metacity.
(I only logged out of my desktop recently, and the upgrade happened a
couple of weeks ago, so I can't be sure.)
Here's the geometry when I first create a terminal window:
And this is after moving it to the other screen:
I have Gnome panels on the bottoms of both screens, with height 25. The
26-pixel difference in heights made me think there is some interaction
there, so I tried a few experiments.
When I move the panel on the second screen to the side, rather than
the bottom, the terminal window there is resized
all the way to the bottom of the screen.
And if I then move the panel back to the bottom, the window is
correctly shortened to fit above the panel, and the problem seems to
be fixed. New windows that I create can be moved back and forth
between the two screens without the extra lengthening.
I'm working around this for now by using an explicit geometry in my
devilspie rule, rather than maximize_vertically.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages metacity depends on:
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libcairo2 1.4.10-1 The Cairo 2D vector graphics libra
ii libgconf2-4 2.20.1-1 GNOME configuration database syste
ii libglib2.0-0 2.14.1-5 The GLib library of C routines
ii libgtk2.0-0 2.12.1-1 The GTK+ graphical user interface
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libmetacity0 1:2.20.0-1 library of lightweight GTK2 based
ii libpango1.0-0 1.18.3-1 Layout and rendering of internatio
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libstartup-notification0 0.9-1 library for program launch feedbac
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxrandr2 2:1.2.2-1 X11 RandR extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii metacity-common 1:2.20.0-1 Shared files of lightweight GTK2 b
metacity recommends no packages.
-- no debconf information
More information about the pkg-gnome-maintainers