Unity panels steal input events while under (some) fullscreen windows

Bug #1457910 reported by Michael Matthews
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Triaged
Low
Unassigned
unity (Ubuntu)
Triaged
Low
Unassigned

Bug Description

I have 3x 1920x1080 monitors arranged horizontally. Unity is configured to duplicate the launcher on every monitor.

Video cards:

2x AMD R270 in CrossfireX
Driver: fglrx-updates (because the open source driver would always kill my X session when I open any LibreOffice app)

Description:

When telling an application to go full screen, it is correctly displayed full screen; however, when clicking in that full screen window, the Unity panels (hidden underneath) will steal its input events.

Problems with:

 - Chromium playing any YouTube video full screen
 - VMware Player in full screen mode

No problem with:

 - Chromium browsing any website while in full screen browsing mode (e.g. pressing F11)
 - Chromium playing any YouTube video full screen *after* pressing F11 to put browser in full screen mode
 - Default movie player playing video in full screen mode

As a layman, it appears there are multiple methods for an application to go full screen, and at least one of those methods is not handled properly by either Unity or something related to the window manager.

Revision history for this message
Michael Matthews (michael-a-matthews) wrote :

Machine specs:

Ubuntu 15.04 (amd64)
AMD 8350 Black Edition
16 GB DDR3 ECC
1 TB drive with Windows 7 x64 / Ubuntu 15.04 (amd64) in dual-boot (grub)
2x Radeon 270 in CrossfireX
3x 1920x1080 monitors attached to primary Radeon 270

Revision history for this message
Michael Matthews (michael-a-matthews) wrote :

Update:

This only happens when this option:

System Settings -> Displays -> Launcher placement == All displays

If I set the launcher to only appear on a specific display, the launcher (and menu bar) no longer steal input from any full screen windows. This problem seems like a bug in Unity. I haven't tested it with a different video driver.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Thanks for the report, I'm trying to figure Mh, so... I don't get this issue (but I only have two monitors here).

Can you give me the output for
  xprop -root

?

Revision history for this message
Michael Matthews (michael-a-matthews) wrote :
Revision history for this message
Michael Matthews (michael-a-matthews) wrote :

I'd like to add that my comment (#2) is not correct. The bug went away for a while when I set the launcher to only show up on one display, but the bug later began happening regardless of the option. It's intermittent. Sometimes a program will go full screen correctly; other times the Unity panels will steal the "full screen" program's input.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Mh, I've been able to reproduce this problem as well... But it only happens when the fullscreen window is not focused. Can you confirm?

Revision history for this message
Michael Matthews (michael-a-matthews) wrote :

Yes, I can confirm that.

It also explains why some applications appear to be affected while others are not.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Mh, this makes things harder to fix... The fact is that the shell is not drawn when there are some fullscreen windows around, and that's fine... But compiz adds it back on top when a fullscreen window has no focus.

This means that to fix the issue we can both show the shell on top of these windows (not sure the best option), or make the shell not to take input in this scenario... And both of these cases are quite tricky to handle (especially the former).

Changed in unity:
status: New → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
Changed in unity:
importance: Undecided → Low
milestone: none → 7.3.3
Changed in unity (Ubuntu):
importance: Undecided → Low
Revision history for this message
Michael Matthews (michael-a-matthews) wrote :

>> But compiz adds it back on top when a fullscreen window has no focus.

I'm guessing the problem is that Unity's panel window(s) are not created in a way that allows compiz to keep them hidden (under full screen windows) independently for each display.

Rolf Leggewie (r0lf)
tags: added: vivid
tags: added: rls-w-incoming
Changed in unity:
milestone: 7.3.3 → 7.4.0
tags: added: rls-x-incoming
removed: rls-w-incoming
tags: added: unity-backlog
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.