Skip to content

fix wrong popups Z-order after applying "Show Desktop" effect

Andrey Butirsky requested to merge work/bam/beneath_context_menus into master

Normal Z-order
Screenshot_20210916_171848
Wrong Z-order after "Show desktop" shortcut
Screenshot_20210916_172119
Keyboard layout OSD is hidden by the menu: Screenshot_20210920_135438

For some reason, layers are changed during the Show Desktop effect applied, so we will have AboveLayer for our popups and Desktop, and NotificationLayer for Dock which hides us. After cancelling the effect, it returns back to normal.
Also, OSD and critical notifications were always hidden by our popups.

This patch solves both the issues.
Usual notifications will still be hidden, but hopefully it's not a big issue.

BUG: 442605

Edited by Andrey Butirsky

Merge request reports