Bug 514005 - Standard action for minimize associated window behave incorrectly
Summary: Standard action for minimize associated window behave incorrectly
Status: REPORTED
Alias: None
Product: frameworks-kstatusnotifieritem
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-31 11:58 UTC by Trần Nam Tuấn (Bill)
Modified: 2026-01-04 22:07 UTC (History)
0 users

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 Trần Nam Tuấn (Bill) 2025-12-31 11:58:10 UTC
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
Comment 1 Trần Nam Tuấn (Bill) 2025-12-31 12:36:40 UTC
Huh. Clicking on the tray icon itself seem to work properly.
Comment 2 Trần Nam Tuấn (Bill) 2026-01-04 22:07:49 UTC
Well, the "activateRequested(bool active, const QPoint &pos)" signal never emit the "active" bool as false, it seems.