Bug 460913 - KWin Wayland: "Application Menu" does not auto-close when the window is closed with menu activated
Summary: KWin Wayland: "Application Menu" does not auto-close when the window is close...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: appmenu (show other bugs)
Version: 5.26.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-23 23:46 UTC by tusooa
Modified: 2022-10-29 16:44 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tusooa 2022-10-23 23:46:10 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
On Wayland, if I close a window with its Application Menu active, the Application Menu is kept until I click somewhere else.

STEPS TO REPRODUCE
1. System Settings -> Appearance -> Window Decorations -> Titlebar Buttons -> drag "Application menu" onto the title bar.
2. Start okular.
3. Click on the Application Menu button on the title bar.
4. Click Close button on the title bar.

OBSERVED RESULT
The application menu is still shown even if the window is closed.

EXPECTED RESULT
The application menu should close when the window closes.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.18.12-gentoo-x86_64 / 5.26.1
(available in About System)
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION