Bug 444808 - Clicking outside of the window while context menu is open keeps the context menu visible and unfocuses the window
Summary: Clicking outside of the window while context menu is open keeps the context m...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-02 07:57 UTC by Marco Rebhan
Modified: 2021-11-02 10:36 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 Marco Rebhan 2021-11-02 07:57:22 UTC
SUMMARY
The context menu of the system monitor doesn't behave like a context menu. Clicking outside the system monitor window unfocuses the window and the context menu stays active instead of disappearing and keeping the focus on the window. Additionally, it draws exclusively inside the window instead of overflowing outside when opened in a corner.

STEPS TO REPRODUCE
1. Open a context menu in system monitor
2. Click on another window

OBSERVED RESULT
Context menu stays open while system monitor loses focus

EXPECTED RESULT
Context menu closes and system monitor stays the active window

SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.8
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.15-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: Radeon RX Vega

ADDITIONAL INFORMATION
Comment 1 Arjen Hiemstra 2021-11-02 10:36:14 UTC
This is an upstream issue with QtQuick Controls 2 menus. There isn't really anything that can be done on the application side. See https://bugreports.qt.io/browse/QTBUG-69558