Bug 489590 - Tray icon ignores left mouse click
Summary: Tray icon ignores left mouse click
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 6.1.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 09:45 UTC by siavosh.kasravi
Modified: 2024-07-23 06:46 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 siavosh.kasravi 2024-07-02 09:45:46 UTC
SUMMARY
When an app has a notification. By clicking on notif or on the tray icon I expect that app to appear on screen. But it won't happen in case the app is already open but in the back or minimized. Gives a bad UX. This behaviour is not consistent across all the apps:
Telegram: Oranges taskbar icon
Quassel: Nothing happens
Discord: Brings app to the front no matter what

STEPS TO REPRODUCE
1. Wait for an app to give a notice
2. Click on the app (or notif)

OBSERVED RESULT
Task icon is blinking in orange.

EXPECTED RESULT
Related window is brought to the top and get focus.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7400 CPU @ 3.00GHz
Memory: 15.1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630

ADDITIONAL INFORMATION
Please note that I mixed clicking on the notif with clicking on the icon/badge. In the first case I suggest a single click closes the notif and a double click bringing the app to the top. In the second case I suggest a single click make the taskbar icon orange and a double click bring the window to the front.
Comment 1 Nate Graham 2024-07-02 18:04:48 UTC

*** This bug has been marked as a duplicate of bug 489286 ***
Comment 2 siavosh.kasravi 2024-07-03 04:04:08 UTC
I should also note that this behavior predates v6.1.1. And it is not that the icons do not respond to double-click. So I suggest revisit the issue to make sure it is a duplicate.
Comment 3 Nate Graham 2024-07-10 20:31:52 UTC
On closer reading, you're right. But why isn't this a series of app bugs? System tray icons are 100% custom, made by the app. It's up to each app to implement sane behaviors.
Comment 4 siavosh.kasravi 2024-07-11 15:12:03 UTC
(In reply to Nate Graham from comment #3)
> On closer reading, you're right. But why isn't this a series of app bugs?
> System tray icons are 100% custom, made by the app. It's up to each app to
> implement sane behaviors.

Actually this is possible but I can't confirm that. If checked by an expert on the matter, I will notify the regarding app.
Comment 5 Nate Graham 2024-07-22 21:01:50 UTC
It was an annoying leading question. :) The answer is that yes, tray icon behaviors are up to their apps' developers. Which makes consistency impossible, practically speaking. Which is one of the many reasons why app-provided tray icons suck! >:D
Comment 6 siavosh.kasravi 2024-07-23 06:46:40 UTC
So you WERE the expert ).