GNOME Bugzilla – Bug 772937
[mutter] removal of META_LAYER_FULLSCREEN causes WINDOW_TYPE_HINT_DOCK and fullscreen apps to overlay
Last modified: 2016-11-02 13:16:00 UTC
Created attachment 337723 [details] screenshot showing the problem Mutter 3.22 removed META_LAYER_FULLSCREEN that caused all fullscreen apps to go above all other windows. Since that commit [1], WINDOW_TYPE_HINT_DOCK windows and fullscreen apps, share the same layer and can cause _DOCK windows appearing over fullscreen apps. To reproduce the problem one just need to have a _DOCK window and then open a full screen app (I tested this with games). On the screenshot attached, the bottom panel has the _HINT_DOCK flag set, but it's always on top even of a fullscreen app. [1] https://git.gnome.org/browse/mutter/commit/?id=fcc7501eb8dab5c1749e5421e31311fd14fd73f0
Created attachment 338360 [details] [review] stack: Stack docks below other windows on fullscreen monitors Commit fcc7501eb8dab5c1749e5421e31311fd14fd73f0 had the side-effect of stacking fullscreen windows below docks which went unnoticed since we don't use docks in GNOME anymore. Instead of re-introducing the fullscreen layer, which we don't need otherwise, we can fix this issue by ensuring we stack docks below all other windows when the monitor they're on is marked fullscreen. This has the added benefit that the visibility rule for 3rd party docks becomes the same as gnome-shell's chrome.
Review of attachment 338360 [details] [review]: OK
Patch is successfully working with Budgie Desktop, and here I have build temporary package for this. https://launchpad.net/~udara/+archive/ubuntu/mutter-patch
Attachment 338360 [details] pushed as bfb46ff - stack: Stack docks below other windows on fullscreen monitors