← Back to team overview

compiz team mailing list archive

[Bug 1171878] Re: Adding/Removing an external monitor causes maximized windows to move to another workspace

 

** Description changed:

  If I plug in external monitor, move a window to it, maximize window and remove external monitor, window is moved to the same workspace primary screen - this is correct behavior, but when I un-maximize it - window moves to different workspace. This most likely is because original window positions are not updated after removing the monitor and un-maximize still uses those old values to move the window to supposedly original position.
  Another use case is when window movement is somewhat wrong - external monitor plugged in, window is maximized on primary screen, move focus to different workspace, unplug the monitor, move back to the workspace when we have fullscreen window, unmaximize it - window un-maximizes not to original position, it's moved away by the same mount of pixels as external monitor width is.
  
  I expect that window stays on the same workspace - once it's on it it
  should not move unless I do that manually, also I expect that un-
  maximizing moves window to original position, not different.
  
  This is continuation of bug
  https://bugs.launchpad.net/compiz/+bug/763148, fullscreen window bug was
  separated as per "Christopher Townsend (townsend) wrote on 2013-04-18".
  
  P.S. Most likely bug can be fixed quite easy as behavior is similar to
  bug I mentioned, hopefully this can be included in the same SRU.
  
  thanks in advance
  Eduards
+ 
+ [Test Case]
+ 
+ ** Test Case 1
+ 
+ 1. plug in external monitor and move a windows to it
+ 2. maximize window
+ 3. unplug external monitor
+ 4. window moves to the primary display of the same workspace (this is correct)
+ 5. un-maximize window
+ 6. window un-maximizes to a different workspace (this is incorrect)
+ 
+ ** Test Case 2
+ 
+ 1. plug in external monitor
+ 2. maximize window on primary (laptop display)
+ 3. change to a different workspace
+ 4. unplug external monitor
+ 5. return to workspace with maximized window
+ 6. un-maximize window
+ 7. window un-maximizes to wrong position. instead of the original position it is shifted over by the same number of pixels as the width of the external monitor (also incorrect)
+ 
+ [Other information]
+ 
+ The bug fix also address bug LP: #763148 on precise.
+ 
+ [Regression]
+ 
+ None determined && expected.

** Description changed:

+ [Impact]
+ 
  If I plug in external monitor, move a window to it, maximize window and remove external monitor, window is moved to the same workspace primary screen - this is correct behavior, but when I un-maximize it - window moves to different workspace. This most likely is because original window positions are not updated after removing the monitor and un-maximize still uses those old values to move the window to supposedly original position.
  Another use case is when window movement is somewhat wrong - external monitor plugged in, window is maximized on primary screen, move focus to different workspace, unplug the monitor, move back to the workspace when we have fullscreen window, unmaximize it - window un-maximizes not to original position, it's moved away by the same mount of pixels as external monitor width is.
  
  I expect that window stays on the same workspace - once it's on it it
  should not move unless I do that manually, also I expect that un-
  maximizing moves window to original position, not different.
  
  This is continuation of bug
  https://bugs.launchpad.net/compiz/+bug/763148, fullscreen window bug was
  separated as per "Christopher Townsend (townsend) wrote on 2013-04-18".
  
  P.S. Most likely bug can be fixed quite easy as behavior is similar to
  bug I mentioned, hopefully this can be included in the same SRU.
  
  thanks in advance
  Eduards
  
  [Test Case]
  
  ** Test Case 1
  
  1. plug in external monitor and move a windows to it
  2. maximize window
  3. unplug external monitor
  4. window moves to the primary display of the same workspace (this is correct)
  5. un-maximize window
  6. window un-maximizes to a different workspace (this is incorrect)
  
  ** Test Case 2
  
  1. plug in external monitor
  2. maximize window on primary (laptop display)
  3. change to a different workspace
  4. unplug external monitor
  5. return to workspace with maximized window
  6. un-maximize window
  7. window un-maximizes to wrong position. instead of the original position it is shifted over by the same number of pixels as the width of the external monitor (also incorrect)
  
  [Other information]
  
  The bug fix also address bug LP: #763148 on precise.
  
  [Regression]
  
  None determined && expected.

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1171878

Title:
  Adding/Removing an external monitor causes maximized windows to move
  to another workspace

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1171878/+subscriptions