Vertical maximisation causes windows to swap heads

Bug #258977 reported by Chris Halse Rogers
Affects Status Importance Assigned to Milestone
metacity (Ubuntu)

Bug Description

Binary package hint: metacity

It seems that asking Metacity to maximise a window vertically can make it swap heads in a dual-head setup.

I'm using xrandr1.2 dual-head with two side-by-side screens. The left hand screen is 1050 pixels high (but with a single 24 pixel high top panel), the right hand one 1024 pixels high. Selecting a non-maximised window on the left screen and hitting the "vertical maximise" hotkey results in the window being moved to the left-most region of the right hand screen and being vertically maximised.

Vertically-maximising a window on the right head behaves as I would expect; it's horizontal position is unchanged, and its vertical size is changed to fill the full screen height.

This is in some way related to the non-existence of panels on the second head; when I add an empty panel to the top of the second head the maximise behaviour on the left-hand head matches that of the right-hand head.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
Package: metacity 1:2.23.55-0ubuntu1
SourcePackage: metacity
Uname: Linux 2.6.27-1-generic x86_64

Tags: apport-bug
Revision history for this message
Chris Halse Rogers (raof) wrote :
Revision history for this message
Marnanel Thurman (marnanel) wrote :

Interesting. Someone found a memory problem in just this exact piece of code just this evening, so I wonder whether now there's a patch in trunk this will be fixed. It will be in the next 2.23.* upstream release tomorrow.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Could you try to reproduce the same with Ubuntu 8.10 or 9.04? Thanks in advance.

Changed in metacity:
status: New → Incomplete
Revision history for this message
Dragan Tomas (croatian-earthlink) wrote :

Mr. Villavicencio,

I'm using the latest Jaunty build on an older computer with dual-head ATI Radeon 7000/VE running with the xorg radeon driver. I'm also having the issue of maximised apps going to the wrong screen. At first I thought this is still not fixed, but I just discovered that if I simply toggle to Metacity from Compiz Fusion as my window manager (using Compiz Fusion icon) and then back to Compiz Fusion again the problem is gone. I have to do this each time I restart the computer or logoff. I'm also having an issue where both screens default to mirrored mode after a reboot or logoff. I haven't found the fix for that yet.

Changed in metacity (Ubuntu):
importance: Undecided → Low
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.