all panels have same window focus on multiple monitors unity2d

Bug #930147 reported by Arnulf Heimsbakk on 2012-02-10
This bug affects 5 people
Affects Status Importance Assigned to Milestone
unity-2d (Ubuntu)

Bug Description

[Test Case]
1. Have 3 or 4 monitors running xinerama and unity2d
2. Maximize windows on monitor 2
3. Grab the menubar on monitor 3 with the mouse as to move a maximized window
   -> You should not hold on and move the window that was placed on monitor 2
   -> Nothing should happen

[Regression Potential]
Since the code modifies the panel, the only regression potentials can be related to panel clicking. So potentially clicking the panel can stop working.

Original description:

3 or 4 monitors running xinerama and unity2d.

1. maximize windows on monitor 2.
2. grab menubar in window 3 with the mouse as to move a maximized window.

You now hold on to the window which was placed on monitor 2.

Very confusing when you have four monitors with four maximized windows. All four top panels act only on the window that has focus when it comes to moving a full screen window.

Related branches

affects: unity → unity-2d
Gerry Boland (gerboland) wrote :

We are making big improvements to your multi-monitor handling, should be available in a few weeks.

Your use-case is difficult for us to test (we don't have the hardware individually), so your feedback will be valuable.

Would you mind if I got in contact with you when our multi-monitor improvements are merged, so you can help us test?

Hi Gerry,

I'd love to help you test unity multi-monitor behaviour for you. You see, it is quite essential that the mutli-monitor setup, 3+ screens, work if we are going to adopt unity at my workplace.

Send me a mail when the improvements are merged. If you have a list of features to test or want me to test something specific just mention it in the mail.


Albert Astals Cid (aacid) wrote :

The improvements for multimonitor and one precise now, please test it and come back to us with your feedback.

Albert Astals Cid (aacid) wrote :

"one precise" -> "on precise" (i.e. 12.04)

Changed in unity-2d:
status: New → Incomplete


I can see improvements in unity2d multi-monitor behaviour. But.. I'm sorry to say that this problem still persist.

I can reproduce it with the following:

  - maximizing a window on each of my monitors, four monitors in this example.
  - focus window on monitor 4
  - go to monitor 1, 2 or 3 with the mouse
  - use the mouse to grab (click and drag) top panel as if you want to move the maximized window in the current monitor

I would expect to start dragging the window on the monitor I do the action in. I.e. monitor 2. But what actually happens is that the window in monitor 4, that has the focus, pops to monitor 2 and I start moving it about.

Albert Astals Cid (aacid) wrote :

Oh, much clearer now, thanks for the steps to reproduce.

Changed in unity-2d:
status: Incomplete → Triaged
importance: Undecided → Low
tags: added: multi-monitor
Jon Anderson (jon-50eaa2) wrote :

It also has the affect that:
1. The other windows cannot be focused by clicking on the panel (as you would a title bar).
2. The other windows controls are not available (until they recieve focus by clicking inside the window).

Changed in unity-2d:
assignee: nobody → Albert Astals Cid (aacid)
milestone: none → 5.14
Changed in unity-2d:
status: Triaged → In Progress
Changed in unity-2d:
status: In Progress → Fix Committed
description: updated
Gerry Boland (gerboland) on 2012-05-30
Changed in unity-2d:
milestone: 5.14 → 5.12.1
description: updated
Changed in unity-2d:
milestone: 5.12.1 → 5.14
Changed in unity-2d (Ubuntu):
status: New → Fix Released
Changed in unity-2d:
assignee: Albert Astals Cid (aacid) → nobody

Hello Arnulf, or anyone else affected,

Accepted unity-2d into precise-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

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-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Changed in unity-2d (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Chris Halse Rogers (raof) wrote :

SRU team ping: this update has been in -proposed for almost a month, and this bug is the only one left to be verified. Could someone please verify that it's fixed, then we can release this update.

I just tested the package from precise-proposed and it fixes the bug for me. Thanks for the fix.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-2d - 5.14.0-0ubuntu1

unity-2d (5.14.0-0ubuntu1) precise-proposed; urgency=low

  * New upstream release (LP: #1060262):
    - [Launcher] [Multi-monitor] Removing a non running app tile from a
      launcher should remove it from all (LP: #988739)
    - Panel Titlebar double click is emitted for any mouse button (LP: #736491)
    - Launcher does not hide if shown while dragging a file (LP: #1002308)
    - icon isn't reset when clearing the search query (LP: #973225)
    - Issue when ejecting busy device from the Unity 2D Shell (LP: #997786)
    - Sticky edges don't work in RTL (LP: #984092)
    - pips are not correctly updated when plugin in a second monitor
      (LP: #1003943)
    - [dash] Unable to maximize (LP: #918648)
    - all panels have same window focus on multiple monitors unity2d
      (LP: #930147)
    - Dash will not open files under Greek folders (LP: #1002710)
    - Launcher does not respond to changes in icon theme (LP: #605475)
    - [panel] Invisible items in systray (LP: #703389)
    - [panel] Ignores "enabled" property on top-level menus (LP: #850017)
  * Reverted some quantal-specific commits which are no longer relevant
 -- Lukasz 'sil2100' Zemczak <email address hidden> Tue, 30 Oct 2012 09:59:49 +0100

Changed in unity-2d (Ubuntu Precise):
status: Fix Committed → Fix Released

The verification of this Stable Release Update 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 regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers