SUMMARY When standard action is enabled in KStatusNotifierItem, actions for minimize and restore the associated window are created. The restore action work as expected, but the minimize action seemingly also try to restore the window. STEPS TO REPRODUCE 1. Create an instance of KStatusNotifierItem. 2. Set the main window as associated window for KStatusNotifierItem. 3. Launch the application and select minimize action in tray icon menu. OBSERVED RESULT If the window is on top, the minimize action produce no visual feedback. If the window is not on top/unfocused, the window notifies it presence by glowing in the Task Manger. EXPECTED RESULT The minimize action should hide the window. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.21.0 Qt Version: 6.10.1 Kernel Version: 6.12.63-1-lts (64-bit) Graphics Platform: Wayland
Huh. Clicking on the tray icon itself seem to work properly.
Well, the "activateRequested(bool active, const QPoint &pos)" signal never emit the "active" bool as false, it seems.