Bug 453373

Summary: Panel not hiding automatically with "Windows can cover" option until you click in the window that should cover it
Product: [Plasma] plasmashell Reporter: gudvinr+kde
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, sparkmachine91
Priority: NOR Keywords: wayland
Version: 5.24.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gudvinr+kde 2022-05-04 07:15:12 UTC
SUMMARY

Under Wayland, panel doesn't hide automatically when "Windows can cover" is enabled unless you click somewhere.

STEPS TO REPRODUCE
1. Run Wayland session
2. Run window (full screen, Firefox browser)
3. Hover over screen edge
4. Move cursor somewhere else

OBSERVED RESULT
Panel is hiding automatically after cursor moves away (as with "Always hide" option).

EXPECTED RESULT
Panel stays there until you click inside window.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Graphics Processor: AMD VEGAM

ADDITIONAL INFORMATION
I use Arch, btw
Comment 1 sparkmachine91 2022-10-29 18:24:41 UTC
Hello, thank you for reporting this. I can reproduce it but I am not sure it is a bug. As explained in https://userbase.kde.org/Plasma/Panels/en#The_.22More_Settings.22_Menu, the function allows windows to cover the whole panel, if they are maximized. Why do you want the panel to stay even if you move the mouse away? Look at this report https://bugs.kde.org/show_bug.cgi?id=341325, is it similar to what you mean? Greetings
Comment 2 gudvinr+kde 2022-10-29 18:32:38 UTC
No, I think I mixed "observed result" and "expected result". What happens now is panel stays on top until you click somewhere inside window that is behind panel. So it acts like normal window BUT given that delay is quite small and you need to basically only touch screen edge so slightly, when you accidentally bring panel up, it just stays there and it is very annoying.

What I meant is that when you don't hover over panel, it should go below window as it was until you made it focused. It is different from auto-hide because with "window can cover" panel doesn't hide when you don't have any windows on screen.
Comment 3 sparkmachine91 2022-10-29 19:52:41 UTC
Okay, I know now what you mean and I am able to reproduce it. Sorry, I was not in Wayland at first. In X11 it works like it should. But in Wayland, as you say, the panel does not hide until you click somewhere in the window. 

Operating System: ArcoLinux
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.15.75-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz
Memory: 3,7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Manufacturer: Dell Inc.
Comment 4 gudvinr+kde 2022-10-30 17:25:09 UTC
(In reply to sparkmachine91 from comment #3)
> In X11 it works like it should. But in Wayland, as you say, the panel does not hide until you click somewhere in the window. 

Yep, I was using X11 before and that's what I noticed almost immediately  after trying Wayland so I resorted to "always hide option" for a while now.
Comment 5 Nate Graham 2023-09-18 18:12:44 UTC

*** This bug has been marked as a duplicate of bug 430732 ***
Comment 6 gudvinr+kde 2023-09-18 18:19:10 UTC
It is not a duplicate of bug 430732. I don't have panel on an edge
Comment 7 Nate Graham 2023-09-18 18:24:35 UTC
Ok.
Comment 8 Nate Graham 2023-09-18 21:12:50 UTC

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