Adding/Removing an external monitor causes open windows to move to another workspace
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Compiz |
Fix Released
|
Medium
|
Steve Langasek | ||
| 0.9.9 |
Fix Released
|
Medium
|
Unassigned | ||
| Compiz Core |
Fix Committed
|
Medium
|
Christopher Townsend | ||
| compiz (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek | ||
| Precise |
Fix Released
|
Undecided
|
Bartosz Kosiorek | ||
Bug Description
[Impact]
Many users will put different windows in different workspaces for better work flow. If a user connects and/or disconnects an external monitor or projector, all of these windows will be put in the first workspace. Having to go back and move all of the windows back to their workspaces is very frustrating and time consuming.
[Test Case]
#. Open some applications in different workspaces.
#. Plug in an external monitor.
[Regression Potential]
Very low possibility that a window still ends up in the wrong workspace.
-------
Original description:
well, i plug in my external screen.
expected behaviour would be, if all of my windows would stay in the workspaces i aligned them to, and if they'd be on the same screen i had them in the first place.
unfortunatly in unity, if i plug-in (or plug-off) my external screen the windows are all around, but not where i'd expect them to be (namely in the same place they were before). so i always have to toggle expo-mode and re-align all of my windows.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- MC Return: Abstain
- Sam Spilsbury: Approve
-
Diff: 466 lines (+204/-126) 3 files modifiedapiplugins/place/src/place.cpp (+3/-1)
plugins/place/src/screen-size-change/src/screen-size-change.cpp (+10/-37)
plugins/place/src/screen-size-change/tests/screen-size-change/src/test-place-screen-size-change.cpp (+191/-88)
- PS Jenkins bot (community): Approve (continuous-integration)
- Didier Roche-Tolomelli: Approve
-
Diff: 466 lines (+204/-126) 3 files modifiedapiplugins/place/src/place.cpp (+3/-1)
plugins/place/src/screen-size-change/src/screen-size-change.cpp (+10/-37)
plugins/place/src/screen-size-change/tests/screen-size-change/src/test-place-screen-size-change.cpp (+191/-88)
- Brandon Schaefer (community): Approve
-
Diff: 490 lines (+217/-131) 3 files modifiedapiplugins/place/src/place.cpp (+11/-1)
plugins/place/src/screen-size-change/src/screen-size-change.cpp (+11/-38)
plugins/place/src/screen-size-change/tests/screen-size-change/src/test-place-screen-size-change.cpp (+195/-92)
The issue you're describing doesn't sound related to Unity. Could you log into a classic gnome session and see if this issue persists?
you're absolutely right. i just tested it in classic-session. the problem was the same. so it seems to be a problem with compiz!?
btw. the windows are not "all around", as i said in the initial report; they rather seem to be aligned the way they were before i plugged in the secondary monitor, but without considering the 1080 pixels that are 'new' to the configuration. so a window that was on my second workspace in a one-monitor-layout, will appear on my first workspace in a two-monitor-layout, because it keeps the same distance to x=0/y=0 (which is the upper left corner) as before.
my way to "work around" this problem is to press "super+s" and drag the windows to the workspaces i have assigned them to before. doing this every time i change my monitor-layout is quite annoying.
Can you disable compiz at all, using Gnome Classic (No effects), so we can confim as a compiz bug.
just tested it: the bug does not occur after "metacity --replace" in gnome classic.
Reproduced problem on precise.
The new multi-monitor spec covers this case and describes what the proper behavior should be.
http://
Bumping priority up since current behavior is incorrect with respect to the specification.
+ Adding/Removing an external monitor causes open windows to move to
+ another workspace
Is there any information/logs needed to help resolve this bug? I can reproduce it every time.
Thanks fo Daniel van Vugt for recurrent attention to this bug. But I presume his repeated changes to "milestone" mean that no one is paying the slightest attention to actually fixing it. Is there a realistic expectation that it will ever be fixed?
Ian Hutchinson: I'm not part of the team but I can say that there is an extremely small handful of people working on the compiz codebase - some of these people are also pulling double-duty on Mir. Unless a hero pulls off a set of patches to help the stack I'm afraid we're going to have to trust that they will prioritize the long bug list well enough to deal with the issues at the best time they can.
Hope that helps, and were I better at C++ I'd dive in myself.
Fix committed into lp:compiz at revision 3646, scheduled for release in compiz, milestone 0.9.10.0
Fix committed into lp:compiz/0.9.9 at revision None, scheduled for release in compiz, milestone 0.9.9.2
This bug was fixed in the package compiz - 1:0.9.9~
---------------
compiz (1:0.9.
[ Steve Langasek ]
* Adding/Removing an external monitor causes open windows to move to
another workspace (LP: #763148)
[ Ubuntu daily release ]
* Automatic snapshot from revision 3646
-- Ubuntu daily release <email address hidden> 2013年4月10日 04:03:14 +0000
I'm going to work on backporting this fix to 12.04.
I filed #1166673 (a dupe) and can confirm that this update fixed my raring laptop. Yay.
Terricif news! Thanks!
Now I'm looking into getting that on Precise...
Update:
I have a merge proposal in for lp:compiz-core which is the branch that is used for Precise. I'll work with the necessary folks to get this pushed through and get it out as an SRU.
Hi!
I have tested this on precise, I've applied patch to current version of compiz, rebuilt packages and installed the following deb files:
sudo dpkg -i compiz_
I still see slightly incorrect behavior in case app is fullscreen on external display. So, when I maximize the app on external display, then remove the cable, space shrinks, window stays on the same workspace on primary screen maximized, that is expected and fine, but when I unmaximize it, it moves to the workspace on right, maybe it still thinks there is the space which was available when external display was connected. Maybe smht to do with original window position.
P.S. Really big thanks for the solution, now it at least do not mess up the whole WS when I connect projector or monitor.
P.P.S. As this is my "production" machine, I'll be testing this even more and will post the results.
Hi Eduards,
Thank you for trying out the patch for 12.04. I was wondering if you see the same slightly incorrect behavior in 13.04? I want to make sure my branch does not have some regression that is not present in 13.04.
Thanks!
Chris, yes, the behavior of full-screen windows is still wrong in 13.04.
Hi Steve,
Ok, thanks. I assume that should be a separate bug from this. Do you agree?
yeah, please treat that as a separate bug.
Hi Christopher,
If you make another bug, please mention it here or please add me to the subscribers list.
Are You planning to fix it Yourself?
I'm asking because usually WS bugs are not going to be fixed anytime soon due to WS concept is thought as advanced feature for advanced users and therefore do not fall into the "for masses" category which means not a priority.
thanks
Eduards
Hi Eduards,
There are not any plans at this time to fix the WS issue you are seeing. However, since you are more familiar with the issue than I, could you please enter a new bug for this?
Thanks,
Chris
Hi Chris,
Bug created https:/
Added more details how to reproduce.
Thanks,
Eduards
I'm running precise. I installed the latest packages from https:/
Hi Margarita,
That PPA does not contain the Precise version of the Compiz package that has this fix. It looks like this fix for inclusion into a package is still pending and it's hard to tell when that will happen.
Hi!
I can share 0.9.7.12-0ubuntu1 packages for Precise (x86_64), if anyone interested.
Default disclaimer applies: packages are built by myself, works for me, otherwise use at own risk :)
regards
Eduards
Hi,
I am on 13.04 with the following compiz versions, this system was upgraded from 12.10 if that makes any difference
Package compiz:
i 1:0.9.10+
Package compiz-core:
i 1:0.9.10+
if the applications are *not maximized* they stay in their virtual desktop after connecting or disconnecting an external monitor
but the issue is still valid in case the applications are *maximized*, all maximized applications go to the first virtual desktop once an external monitor is connected or disconnected
Regards,
Mohamed
On Wed, Nov 20, 2013 at 09:32:06AM -0000, Mohamed Ragab wrote:
> but the issue is still valid in case the applications are *maximized*,
> all maximized applications go to the first virtual desktop once an
> external monitor is connected or disconnected
I believe there is a separate bug report open for this. And no, it's not
"the first virtual desktop", it's "the current virtual desktop".
The fullscreen one is LP bug 1171878.
Hi Mark
I have posted a patch for this issue under bug 1171878. Let me know, if this helps.
I had this bug from precise, and can confirm it in raring, quantal, saucy, trusty.
- compiz_precise_sru.debdiff Edit (21.0 KiB, text/plain)
Attached is the debdiff for the proposed Compiz SRU that fixes this. Also, a branch is linked to this bug for the same fix.
Hello grigori, or anyone else affected,
Accepted compiz into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
After install compiz from propose, all problems with multi monitor support (which was described here) was solved for me.
Now it is working perfectly.
Thanks you!
removed: verification-needed
The verification of the Stable Release Update for compiz has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
This bug was fixed in the package compiz - 1:0.9.7.12-0ubuntu4
---------------
compiz (1:0.9.
* debian/
- Cherry-pick fixes upstream for window mismanagement when adding
and/or removing an external monitor. (LP: #763148) (LP: #1171878)
-- Chris Townsend <email address hidden> 2014年7月07日 15:15:43 -0400
I guess this bug seems to be fixed for most folks post-raring and late changes restricted to Precise. However, even in Trusty &0.9.11 (to which "upstream" is probably referring?) add/removing monitor still consistently causes for me some windows to move from one workspace to the other and, in particular, also causes windows inside a workspace to move even if the windows were on the the not-removed monitor. Not sure whether relevant, but this is with the nvidia drivers on a ThinkPad W530 connecting to various external monitors...
This bug is still affecting me on Trusty, version 1:0.9.11.
Yes, me too. is there any workaround since I can't get deluge window to show no metter what I do?
same here, 14.04 with 1:0.9.11+
Adding or removing an external display will drop windows on random workspaces (not all on the first one)
Hi, it's not really fixed... I created new user recently and it seems that patch which fixed problem a while ago is gone. Windowses move "somewhere" after I disconnect external display.
Ubuntu 14.04.1
compiz 0.9.11.
unity 7.2.3+14.
Problem still exists.
compiz 1:0.9.11.
unity 7.2.3+14.
The problem is fixed for me with these versions:
ii compiz 1:0.9.11.2+1 all OpenGL window and compositing
man
ii unity 7.2.3+14.04. amd64 Interface designed for
efficiency
On 8 November 2014 17:52, schu <email address hidden> wrote:
> Problem still exists.
>
> compiz 1:0.9.11.
> unity 7.2.3+14.
>
> --
> You received this bug notification because you are a member of AIMS,
> which is subscribed to the bug report.
> https:/
>
> Title:
> Adding/Removing an external monitor causes open windows to move to
> another workspace
>
> Status in Compiz:
> Fix Released
> Status in Compiz 0.9.9 series:
> Fix Committed
> Status in Compiz Core:
> Fix Committed
> Status in "compiz" package in Ubuntu:
> Fix Released
> Status in "compiz" source package in Precise:
> Fix Released
>
> Bug description:
> [Impact]
> Many users will put different windows in different workspaces for better
> work flow. If a user connects and/or disconnects an external monitor or
> projector, all of these windows will be put in the first workspace. Having
> to go back and move all of the windows back to their workspaces is very
> frustrating and time consuming.
>
> [Test Case]
> #. Open some applications in different workspaces.
> #. Plug in an external monitor.
>
> [Regression Potential]
> Very low possibility that a window still ends up in the wrong workspace.
>
> -------
>
> Original description:
> well, i plug in my external screen.
>
> expected behaviour would be, if all of my windows would stay in the
> workspaces i aligned them to, and if they'd be on the same screen i
> had them in the first place.
>
> unfortunatly in unity, if i plug-in (or plug-off) my external screen
> the windows are all around, but not where i'd expect them to be
> (namely in the same place they were before). so i always have to
> toggle expo-mode and re-align all of my windows.
>
> To manage notifications about this bug go to:
> https:/
>
> --
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
--
.~.
/V\ Jan Groenewald
/( )\ www.aims.ac.za
^^-^^
Jan,
can You please clarify which versions fixed the problem? Output from dpkg seems to be abrupt in Your comment.
Also what I've checked is that windowses do not move randomly when I connect external display, they are going wild after I disconnect the monitor.
Chris, patches for precise - did You picked them from Trusty based fixes or there are specific new fixes as well?
Shouldn't these be forward-ported to next release which is also having problems?
Hi Eduards,
I'm not really sure what is going on. All the fixes should be in Vivid, Utopic, Trusty. and Precise.
Since this was fixed at one time and seems broken for some people, a new bug should be opened. Please do the normal apport-collect stuff. I will try to provision a secondary monitor to give this a look.
Thanks!
Thanks for clarification Chris, will try to make a clean test case and will create a new bug for trusty.
Hi
Clarifying versions not showing bug for me:
0 root@osprey:~#dpkg -l unity
Desired=
|
Status=
|/ Err?=(none)
||/ Name Version
Architecture Description
+++-===
ii unity 7.2.3+14.
amd64 Interface designed for efficiency of space and
interaction.
0 root@osprey:~#dpkg -l compiz
Desired=
|
Status=
|/ Err?=(none)
||/ Name Version
Architecture Description
+++-===
ii compiz 1:0.9.11.
all OpenGL window and compositing manager
0 root@osprey:~#
Regards,
Jan
On 11 November 2014 17:07, Eduards Bezverhijs <email address hidden> wrote:
> Jan,
> can You please clarify which versions fixed the problem? Output from dpkg
> seems to be abrupt in Your comment.
>
> Also what I've checked is that windowses do not move randomly when I
> connect external display, they are going wild after I disconnect the
> monitor.
>
> Chris, patches for precise - did You picked them from Trusty based fixes
> or there are specific new fixes as well?
> Shouldn't these be forward-ported to next release which is also having
> problems?
>
> --
> You received this bug notification because you are a member of AIMS,
> which is subscribed to the bug report.
> https:/
>
> Title:
> Adding/Removing an external monitor causes open windows to move to
> another workspace
>
> Status in Compiz:
> Fix Released
> Status in Compiz 0.9.9 series:
> Fix Committed
> Status in Compiz Core:
> Fix Committed
> Status in "compiz" package in Ubuntu:
> Fix Released
> Status in "compiz" source package in Precise:
> Fix Released
>
> Bug description:
> [Impact]
> Many users will put different windows in different workspaces for better
> work flow. If a user connects and/or disconnects an external monitor or
> projector, all of these windows will be put in the first workspace. Having
> to go back and move all of the windows back to their workspaces is very
> frustrating and time consuming.
>
> [Test Case]
> #. Open some applications in different workspaces.
> #. Plug in an external monitor.
>
> [Regression Potential]
> Very low possibility that a window still ends up in the wrong workspace.
>
> -------
>
> Original description:
> well, i plug in my external screen.
>
> expected behaviour would be, if all of my windows would stay in the
> workspaces i aligned t...
Closing Compiz 0.9.9 task (0.9.9 series is obsolete)
I'm on utopic with
compiz-core 1:0.9.12+
and still experience the bug.
@Dirk Seidel (dseidel)
Please create new bug report, and add link here.
Here is the new bug report for utopic:
https:/
Yeah, this is still/again an issue in 14.04 (with Unity)
Not only that, I use compiz 0.9.11 on Trusty 14.04 and I have the same issue
still there in 16.04
compiz-core 1:0.9.12.