Bug 464074

Summary: Clicking on empty area of auto hide panel while any widget's context menu is open hides the panel
Product: [Plasma] plasmashell Reporter: Bill <bill73653>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: fernandommuniz, nate, niccolo.venerandi
Priority: NOR Keywords: usability
Version First Reported In: 5.26.5   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=500820
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 478797    
Attachments: Video demonstrating the behavior
Issue on Plasma 6.5.4

Description Bill 2023-01-09 22:58:25 UTC
Created attachment 155164 [details]
Video demonstrating the behavior

SUMMARY
Right clicking on an application, moving the cursor, and clicking into the panel will sometimes cause the panel to auto hide.  Video attached.

STEPS TO REPRODUCE
1:  Right click on application in the plasma panel
2:  Wait a few moments, if you left click immediately the bug will not occur
3:  Click into an empty space in the plasma panel, the panel will hide

OBSERVED RESULT
Plasma panel hides after clicking into empty space 

EXPECTED RESULT
Plasma panel should not auto hide after clicking into it.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Plasma wayland session.
Comment 1 Nate Graham 2023-01-09 23:13:57 UTC
Can also sometimes reproduce. Also Wayland.
Comment 2 Nate Graham 2024-08-28 19:12:38 UTC
Can still reproduce on git master. Now it seems 100% reproducible.
Comment 3 Nate Graham 2025-12-08 22:19:59 UTC
*** Bug 512924 has been marked as a duplicate of this bug. ***
Comment 4 Fernando Marcelino Muniz 2026-01-10 15:22:53 UTC
Created attachment 188386 [details]
Issue on Plasma 6.5.4
Comment 5 Fernando Marcelino Muniz 2026-01-23 22:29:24 UTC
Is this related to this bug?

https://bugs.kde.org/show_bug.cgi?id=500820#c4

In essence, the Context Menu's closing process steals focus from the next click (both left and right).

If I'm correct, then this is a QT bug:
https://qt-project.atlassian.net/browse/QTBUG-134223