Multi-monitor - Panel and launcher visible on top of multimonitor non-focused fullscreen apps

Bug #748539 reported by Greg A
344
This bug affects 75 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Released
Critical
John Lea
Unity
Fix Released
High
Andrea Azzarone
6.0
Won't Fix
Undecided
Unassigned
unity (Ubuntu)
Fix Released
High
Andrea Azzarone

Bug Description

Binary package hint: unity

See the attached screenshot.

When an app is fullscreen (fullscreen, not maximized) on a monitor, but another program is focused on the other monitor, then the unity panel is displayed at when it shoudn't be.

I appreciate this probably isn't a priority, but for a future release it would be good seeing as it's the little details that matter.

------------------------------
Desired solution:

- When an app is fullscreen (fullscreen, not maximized) on a monitor, but another program is focused on the other monitor, the unity menu bar should not be displayed on the monitor that is displaying the fullscreen app.

- When fixing this bug, also look at bug #1065425

WORKAROUND FOR THIS BUG:
Turn "Always On Top" on via right-clicking the titlebar of your window, before making it go fullscreen.
This will prevent the Unity panel from rendering on top of this fullscreen-window, when using the other screen.

Related branches

Revision history for this message
Greg A (etulfetulf) wrote :
Revision history for this message
Greg A (etulfetulf) wrote :
Revision history for this message
Kieran Hogg (xerosis) wrote :

That's odd, I tried with with banshee and totem and it seems to work as expected for me.

Revision history for this message
Greg A (etulfetulf) wrote :

Kieran: is that even after you click on something else in the second monitor?

Revision history for this message
Greg A (etulfetulf) wrote :
Revision history for this message
Greg A (etulfetulf) wrote :

I've unmarked this as a duplicate, because it is very definitely a multimonitor issue.

Steps to reproduce:
1. Open an application on one monitor and put it in fullscreen (e.g. open firefox or gedit and press F11)
2. Note that clicking on Desktop background on other monitor does not cause unity panel to show on 'first' monitor
3. Now open any application on the 'second' monitor.
4. Note that the unity panel appears over the top of the fullscreen application (firefox/gedit/etc)

Expected result:
4. Unity panel remains hidden on the monitor with a fullscreen application

tags: added: multimonitor
summary: - panel should not show when in full screen on second monitor
+ panel visible on top of multimonitor fullscreen apps
Revision history for this message
Greg A (etulfetulf) wrote : Re: panel visible on top of multimonitor fullscreen apps

Note that the Unity panel displayed over the fullscreen application DOES respond to mouseclicks (it is possible to open indicators) so is not fixed by [1]

[1] https://bugs.launchpad.net/unity/+bug/734908/comments/49

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Greg, bug 734908 is marked as affecting both Compiz and Unity. So both variations of the issue will be fixed there (as two fixes). Including this one.

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

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

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed, this particular multimonitor bug still happens even with the regionalDamage fix.

Changed in unity:
status: New → Confirmed
milestone: none → 6.2
summary: - panel visible on top of multimonitor fullscreen apps
+ Panel and launcher visible on top of multimonitor fullscreen apps
summary: - Panel and launcher visible on top of multimonitor fullscreen apps
+ Panel and launcher visible on top of multimonitor non-focused fullscreen
+ apps
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Panel and launcher visible on top of multimonitor non-focused fullscreen apps

I think the essence of this bug is best described as: Unity bug: "raising the nux windows to the top on one monitor raises the nux windows on all monitors".

Changed in unity:
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → Medium
Changed in unity (Ubuntu):
importance: Undecided → Medium
Changed in unity:
assignee: Daniel van Vugt (vanvugt) → nobody
Changed in unity:
milestone: 6.2 → 6.4
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: Confirmed → Triaged
John Lea (johnlea)
tags: added: udp
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
status: New → Fix Committed
importance: Undecided → Medium
description: updated
summary: - Panel and launcher visible on top of multimonitor non-focused fullscreen
- apps
+ Multi-monitor - Panel and launcher visible on top of multimonitor non-
+ focused fullscreen apps
Changed in unity:
milestone: 6.4 → 6.6
Revision history for this message
Tim Penhey (thumper) wrote :

Hey Andy,

Do you have an external monitor to do this work?

Changed in unity:
assignee: nobody → Andrea Azzarone (andyrock)
Revision history for this message
Andrea Azzarone (azzar1) wrote :

@Tim, of course ;)

Changed in unity:
milestone: 6.6 → 7.0
Revision history for this message
htrex (hantarex) wrote :

Could you please implement a feature to optionally but completelly disable the top screen menubar on a secondary monitor?

With that bar Ubuntu with Unity becomed unusable for video art and gigs, where the secondary display output is used with projectors in live shows.

In such environments, on the unfortunate case of a problem with the application generating output on the secondary monitor, a small human error with the fader of a video mixer, or anything, showing a black background for a moment is more desiderable than showing an operating system interface for a moment.

Revision history for this message
KarlRelton (karllinuxtest-relton) wrote :

Echoing #15, the multi-monitor spec has(had) a concept of 'projection mode', i.e. where the 2nd monitor was known to be used for projection and thus special conditions would be useful. I have long thought that one of the special conditions of a 'projection mode' would be to not have the unity top panel displaying on the projector - because you really only want fullscreen apps (as #15 says).

Unfortunately I couldn't find a way of commenting on the spec document as an ordinary member of public - so my thoughts have been confined to comments in bug reports (e.g. see comment #2 of https://bugs.launchpad.net/unity/+bug/907464)

Revision history for this message
htrex (hantarex) wrote :

Thanks Karl, think you're right with #907464.
The case of fullscreen apps on the secondary monitor with a control window on the primary is a usual condition with many live set tools.

Revision history for this message
John Lea (johnlea) wrote :

bumping bug priority to critical because it prevents Ubuntu being used in live video control tasks.

description: updated
Changed in ayatana-design:
importance: Medium → Critical
Changed in unity:
importance: Medium → High
Changed in unity (Ubuntu):
importance: Medium → High
Changed in unity:
importance: High → Critical
Changed in unity (Ubuntu):
importance: High → Critical
Revision history for this message
htrex (hantarex) wrote :

Good to see this issue is gaining priority.
When looking for solutions please consider that in live sets there are situations where you never want to risk projecting the OS interface on the secondary output, even when there's no fullscreen app on that.

I stress the fact that we probably need an option to completelly disable any menubar, notification or whatever on the secondary monitor.

Revision history for this message
John Lea (johnlea) wrote :

@hantarex; I've amended the bug to also cover the notification issue. Once this is implemented, you will also need to switch off the Launcher on the secondary monitor, because even if it is hidden app icons will pop out in response to applications issuing the 'alert' alert notification.

Once these changes are made, will your use case be fixed?

description: updated
Revision history for this message
htrex (hantarex) wrote :

@johnlea; I'm not sure the proposed bug solution is enough for live show issues. Imagine you need to restart the controlling application for some reason, a simple device change, a crash or whatever. With the proposed solution, once the fullscreen projected app is closed the OS interface would be visible to the public. In a gig you really don't want to risk this and eventually having an option 'by design' is the most desiderable solution.

About the Launcher, I know and make use of the option to switch it off and place it on monitors, it works well and I like it, thanks to the team that implemented that!

Andrea Azzarone (azzar1)
no longer affects: unity/6.0
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Andrea Azzarone (azzar1) wrote :

- When an app is fullscreen, no notifications (e.g. NotifyOSD or Snap Decisions) should be displayed on top of the full screen app.

Please open a different bug for this.

Revision history for this message
John Lea (johnlea) wrote :

@andyrock; done, see bug #1065425

description: updated
Revision history for this message
htrex (hantarex) wrote :

opened bug #1066017 secondary monitor menubar unsuitable for live shows

Revision history for this message
KarlRelton (karllinuxtest-relton) wrote :

While I would still like to see this fixed, I have found a workaround (that at least works in 12.10):

- In compizconfig-settings, enable the 'Extra WM Actions' plugin

- in the options for this plugin, enable a bindkey for the 'Toggle always on top' option (I chose ctrl-F9)

Now you can open the application and its fullscreen window. With the fullscreen window focussed, press the chosen bindkey. Now you can focus another window or app on the other monitor, and the fullscreen window will stay on top on its monitor.

I've tested this for both libreoffice-impress presentation fullscreen window, and totem in fullscreen mode.

Note that other windows showing on the same monitor as the fullscreen window will NOT now show, even if you focus them (e.g. using an Alt-Tab sequence). This is to be expected, as the fullscreen window is now marked as always on top. However if you arrange for the other window to also have the always-on-top attribute, then you can then use Alt-Tab to flip between them.

Andrea Azzarone (azzar1)
Changed in unity:
status: In Progress → Triaged
Changed in unity (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
htrex (hantarex) wrote :

When fixing this bug please also look at bug #856892

Stephen M. Webb (bregma)
Changed in unity:
importance: Critical → High
Changed in unity (Ubuntu):
importance: Critical → High
assignee: nobody → Andrea Azzarone (andyrock)
Andrea Azzarone (azzar1)
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
MC Return (mc-return) wrote :

andyrock, another solution for this problem would be to automatically make Fullscreen-windows be "Always On Top". When toggling fullscreen this status should be reverted to the previous state...

To test this solution, simply start a video with your favorite player, turn "Always On Top" on for your videoplayer window and fullscreen it afterwards. Now click somewhere into your second monitor. Normally in this case the panel would show up on-top of the running video on your first monitor, but not if the player has been set to be on top first...

WORKAROUND FOR THIS BUG:
Turn "Always On Top" on via right-clicking the titlebar of your window, before making it go fullscreen.
This will prevent the Unity panel from rendering on top of this fullscreen-window, when using the other screen.

description: updated
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity at revision None, scheduled for release in unity, milestone backlog

Changed in unity:
status: In Progress → Fix Committed
Revision history for this message
Francis Ginther (fginther) wrote :

Fix committed into lp:unity at revision 3170.

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

This bug was fixed in the package unity - 6.12.0daily13.02.26-0ubuntu1

---------------
unity (6.12.0daily13.02.26-0ubuntu1) raring; urgency=low

  [ Andrea Azzarone ]
  * Multi-monitor - Panel and launcher visible on top of multimonitor
    non-focused fullscreen apps (LP: #748539)
  * unity.tests.launcher.test_icon_behavior.LauncherIconsTests.* fails
    randomly (LP: #1131679)

  [ Xiao-Long Chen ]
  * Add timeout before removing launcher (LP: #1119801)

  [ MC Return ]
  * cppcheck reports true positives (LP: #1131152)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 3171
 -- Automatic PS uploader <email address hidden> Tue, 26 Feb 2013 04:02:40 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Stephen M. Webb (bregma) wrote :

Fix Released in Unity Unity 7.0.0 "R series".

Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
variona (variona) wrote :

The gnome terminal also stays visible as if on top (full screen and lock screen). I use LTSP with Unity 2d. When working directly on the server lock screen works as expected. Will this fix be available for 12.04?

John Lea (johnlea)
Changed in ayatana-design:
status: Fix Committed → Fix Released
Revision history for this message
Christopher Townsend (townsend) wrote :

This bug is not a duplicate of bug #853865.

Revision history for this message
Random (random255) wrote :

Is this supposed to have been fixed for the lock screen in 12.04.3 ?

Because I've accepted all recommended updates, but the top and bottom taskbars are still visible for me when I lock my screen (I'm using two monitors).

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Random,

It is fixed in unity 7. And it is not decidied on unity 6, which is in 12.04.

Revision history for this message
Random (random255) wrote :

May please I request that it's put into unity 6 as well?

The issue means terminal windows as well as a list of running applications is visible from the lock screen.
For 12.04 LTS, which is likely to be installed in large companies, this could be a security risk.

Revision history for this message
ViViD (vivnet) wrote :

I see people saying that this is fixed in Unity 7?

I am using Unity 7.2.4 in trusty and it's definitely not fixed.

In fact, it has been a problem for such a long time that I'm perfectly confident it will never be fixed.

Revision history for this message
jim Stefanik (j1m) wrote :

Reporting same big. Running a fully patched install of Ubuntu 15.04 AMD64, still happens. Fullscreened Virtualbox VM on left monitor has the Unity menu bar pop up as soon as I take focus away from it on either center or right monitors. Same thing with a fullscreened video in VLC, which is really annoying since it cuts the top off the video.

Revision history for this message
Bent Haase (bent-haase) wrote :

I can relate to #38, having exactly the same setup with the same hassle. Why not simply add the functionality to set the Unity top bar in the screen settings. There is an option for the Launcher Position (either Screen A or B or both) why not the same for Unity?
I hope this will be fixed with Unity 8.

Revision history for this message
pabouk (pabouk) wrote :

I am confirming the same problem as in #38 and #39. The bug still persists and it is very annoying. I am running Ubuntu 14.04.3 with VMware Workstation.

When I have a VM running full-screen on one monitor and I switch focus to a different window, the Unity top bar appears over the full-screen VMware Workstation. Switching the focus back to the Workstation does not resolve the problem. Only switching it from full-screen and then back helps.

Revision history for this message
Alin Andrei (nilarimogard) wrote :

Still occurs in 15.10...

Revision history for this message
groucho (grouchomarx-fr) wrote :

The fix works for me at first, but the problem come back after a while.

Here is a case scenario :
- New session, I open a full screen app on one screen and nautilus on the other one (everything is fine)
- I drag a folder or a file in nautilus
- The problem comes back and I have to restart the session to get rid of it, otherwise it will not go away

Revision history for this message
BronsonMathews (bronsonmathews) wrote :

still happens on on 16.04!!

same bug as here?
https://bugs.launchpad.net/unity/+bug/734908

Revision history for this message
BronsonMathews (bronsonmathews) wrote :

the workaround listed above does not work on 16.04.
The bug is still present

Revision history for this message
Aaron Machin (linyl) wrote :

I still have the issue. 16.04 Ubuntu LTS.

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

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.