Window placement is very strange after disconnection second monitor

Bug #923051 reported by Eduards Bezverhijs
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Hi!

I have made some tests with 2 monitors to try to understand how compiz is placing windowses after second monitor is disconnected. Placement is quite strange to be honest :)
I have to note that the same happens in compiz 0.8.x as well, so functionlity might be the same.

I defined 3 (horizontal) x 2 (vertical) workspaces, I connected second monitor, I placed 2 firefox windowses on each workspace on each monitor. I called windowses like this - "wsX monY win" and "wsX monY fs": X = workspace number, Y = monitor (1 - laptop internal, 2 - external), fs = fullscreen window, win = regular window.
When I disconnect monitor I press Fn + F7 on my laptop, that will redetect monitors (as far as I know) and window placement is somewhat not correct, here is the listing of windows and where they went after disconnection of second monitor :
ws1:
 ws1 mon1 fs
 ws1 mon1 win
 ws1 mon2 win
 ws1 mon2 fs
 ws2 mon1 fs
 ws2 mon1 win
 ws2 mon2 fs
 ws3 mon2 win
ws2:
 ws2 mon2 win
ws3:
 ws3 mon1 fs
 ws3 mon1 win
 ws3 mon2 fs
ws4:
 ws4 mon1 fs
 ws4 mon1 win
 ws4 mon2 fs
 ws4 mon2 win
 ws5 mon1 fs
 ws5 mon2 fs
 ws5 mon1 win
 ws6 mon2 win
ws5:
 ws5 mon2 win
ws6:
 ws6 mon1 fs
 ws6 mon1 win
 ws6 mon2 fs

I expect that if I remove the monitor windowses remain on the same workspace on visible area (laptop screen).
All software details are there: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/920650.
I'm using ppa:vanvugt/compiz and ppa:vanvugt/unity, so I could not make bug report with ubuntu-bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Alex Burdu (alex.burdu) wrote :

I have the same issue also. I connect my TV and place it on top of my laptop's workspace. if i have windows on my laptop's desktop, when i disconnect the TV, those windows will go under my desktop and i am unable to reach them.

Revision history for this message
Eduards Bezverhijs (mjasnik) wrote :

Ok, this will not be fixed, let's make it incomplete, I'll create another bug for Raring (if not too late).

Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Eduards Bezverhijs (mjasnik) wrote :
Revision history for this message
Christopher Townsend (townsend) wrote :

This is really a duplicate of bug #763148. The good news is that this bug is fixed in 13.04.

I'm trying to figure out if the fix can be SRU'd for 12.10 and more importantly, 12.04.

Revision history for this message
Eduards Bezverhijs (mjasnik) wrote :

Great news, now backport is very much needed.

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.