Bug 473454 - Closing the global menu with the Esc key inappropriately triggers panel auto-hide when the cursor was still hovering over the panel
Summary: Closing the global menu with the Esc key inappropriately triggers panel auto-...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (other bugs)
Version First Reported In: 5.27.4
Platform: Other Other
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-16 15:27 UTC by neobrain
Modified: 2023-08-17 18:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description neobrain 2023-08-16 15:27:57 UTC
SUMMARY
A panel containing the global menu applet will auto-hide if the user closes a submenu.

This can be very irritating, e.g. when the user tries to switch from the app menu to the calendar widget. Clicking the date&time text while a menu is open won't bring up the calendar, but instead it hides the panel.

STEPS TO REPRODUCE
1. Set up global app menu in an auto-hiding panel
2. Open any top-level submenu by clicking on e.g. "View"/"Edit"/"Help"
3. Close the submenu, e.g. by pressing ESC

Other submenu-closing actions that behave oddly are i) Clicking on other areas of the panel (e.g. the date), ii) Clicking on "View" again iii) pressing the left/right arrow keys twice (not sure why the last one closes the submenu to begin with)

OBSERVED RESULT
The submenu closes and at the same time the panel auto-hides, even if the mouse cursor is still hovering on the panel area.

EXPECTED RESULT
The only observable effect should be the submenu closing. The panel should stay visible as long as the mouse cursor is still hovering on the panel. (For reference, this is also how macOS implements its auto-hiding menu panel.)

SOFTWARE/OS VERSIONS
Linux: Ubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Graphics Platform: Wayland