With multi-monitor setup and workspaces, maximized windows wander around

Bug #1362814 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
New
Undecided
Unassigned
unity (Ubuntu)
New
Undecided
Unassigned

Bug Description

It often happens when resuming, sometimes when focusing a maximized window (especially one that's urgent), it will change the screen it's maximized on.

I'll try and add exact steps to reproduce when I find them, but maybe someone already knows.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: unity 7.3.1+14.10.20140811-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-10.15-generic 3.16.1
Uname: Linux 3.16.0-10-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.14.6-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CurrentDesktop: Unity
Date: Thu Aug 28 22:54:08 2014
SourcePackage: unity
SystemImageInfo: Error: [Errno 2] Nie ma takiego pliku ani katalogu: 'system-image-cli'
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Christopher Townsend (townsend) wrote :

Hey Saviq,

First, when you say "multi-monitor", I assume you have a laptop with an external monitor attached, right?

If so, are these maximized windows that are moved the ones that were on the external monitor? Also, when the machine suspends, the external monitor goes standby or powers off and then powers back on when resuming, right? I'm betting that the external monitors takes a bit of time to power on, so Compiz only sees one monitor for a bit and moves the window to the existing monitor. However, Compiz does not keep track of the lost monitor at this point and then when the monitor fully powers on and then presents itself, you left with the maximized window in the "wrong" screen.

Let me know if my hunch seems reasonable for your case.

Revision history for this message
Michał Sawicz (saviq) wrote :

Well, it could explain the suspend/resume case indeed, there's actually a twist... more often the windows move *to* the external screen, not to the laptop screen.

Or well, I rarely have maximized windows on the external screen so have not noticed that behaviour.

And then there's the case when there's no suspend coming into play, a window gets the urgent flag, I click on the icon in the launcher and the window has moved to the second screen.

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.