Bug 426759

Summary: Wayland: Any popup of the panel is shown behind a window with the 'Always on top' property set instead of on top.
Product: [Plasma] kwin Reporter: Lukas Spies <Lukas>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, dev.bacteriostat, plasma-bugs-null, puspitaadak9876
Priority: NOR    
Version First Reported In: 5.24.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lukas Spies 2020-09-20 05:00:55 UTC
SUMMARY
When a window is set to 'Always on Top' then any of the popups of the panel (window previews, systray popups, application launcher) are shown *behind* that window instead of on top of it.


STEPS TO REPRODUCE
1. Set window to 'Always on Top'
2. Move window near panel
3. Hover over any window in the window list or open any popup.

OBSERVED RESULT
The popup is shown behind the window with the 'Always on Top' property set.

EXPECTED RESULT
The popup is shown on top of the window with the 'Always on Top' property set.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
I observed this behavior in 5.19.5 and now also in 5.19.90.
Comment 1 Lukas Spies 2020-09-20 05:02:07 UTC
I forgot to add: This is using Plasma with Wayland.
Comment 2 Lukas Spies 2020-10-02 14:51:05 UTC
I have a shortcut set to set a window to be shown always on top. I then noticed that if a panel popup opens behind an 'always on top' window I can use that shortcut to move it to the top.

Thus, it seems like all that is missing is to always set the 'always on top' window flag for the panel popups.
Comment 3 Patrick Silva 2020-11-19 23:58:17 UTC
Same thing on my system.

Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Comment 4 Patrick Silva 2021-10-30 16:04:39 UTC
I'm unable to reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 5 Bacteria 2022-05-25 08:37:31 UTC
Able to reproduce

Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Graphics Platform: Wayland
Comment 6 Patrick Silva 2022-10-29 18:46:00 UTC
kickoff and popups of applets and widgets open behind the 'keep above other windows' window on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 7 Puspam Adak 2023-04-02 17:43:02 UTC
This bug is still freely roaming around!

Operating System: Arch Linux
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Graphics Platform: Wayland

This is specific to Wayland only. It doesn't occur on Xorg.