Bug 368872

Summary: Plasmashell panel when put on the middle edge of a multi screen setup does not stay below
Product: [Plasma] plasmashell Reporter: Alexandre Pereira <pereira.alex>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Severity: normal CC: herzenschein, nate
Priority: NOR    
Version: 5.7.95   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexandre Pereira 2016-09-15 22:52:40 UTC

I have a multi screen setup with two monitors side by side.

If i put the plasmashell panel on the bottom, top, or left edge or right edge of the multi screen setup,  stay below windows works properly.

If i put the panel on the middle edges of the multi screen setup ( right edge of the left screen or left edge of the right screen ), stay below windows doesn't work.

Note: related to https://bugs.kde.org/show_bug.cgi?id=364852 , but this case, just for stay below windows.

Thanks !

Reproducible: Always

Steps to Reproduce:
1. Setup multiscreen setup
2. Set panel on the middle edges between screens ( right edge of left screen of left edge of right screen )
3. Set panel stay below windows.

Actual Results:  
Panel does not stay below windows

Expected Results:  
Panel to stay below windows

Reproducible: Always
Comment 1 Thiago Sueto 2020-10-27 04:15:08 UTC
I can confirm this on master.
Assuming that by "Stay below windows" you mean "Windows can cover", I just set it as Windows can cover (therefore panel goes below the window), but the panel still goes over the window regardless.
Comment 2 Alexandre Pereira 2022-01-23 18:21:19 UTC
Closing this one, it seems panel does not go below windows.

It seems its kinda "trigger happy" to again go above windows, but I can't replicate it reliably. In almost most cases, windows are on top.
Comment 3 Alexandre Pereira 2022-07-30 15:31:54 UTC
I can now replicate reliably:

It needs to be a "multi screen setup".

Panel is on secondary screen (on the right, in wayland), and have 2 windows for example:

Putting the window above panel , and changing windows while on the same monitor, it works well. But as soon as I change to the other monitor and pass the mouse through the desktop, it puts the panel on top.

Strangely this does not happen if the mouse does not "travel above the desktop" while moving the cursor to the other monitor. (even if it does not focus the desktop, it stills raises the panel)

Mouse "activation policy" doesn't change anything (either click to focus or follows mouse does the same)
Comment 4 Nate Graham 2023-09-18 17:23:30 UTC

*** This bug has been marked as a duplicate of bug 351175 ***