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
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