<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>489590</bug_id>
          
          <creation_ts>2024-07-02 09:45:46 +0000</creation_ts>
          <short_desc>Tray icon ignores left mouse click</short_desc>
          <delta_ts>2024-07-23 06:46:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>System Tray widget</component>
          <version>6.1.1</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DOWNSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>siavosh.kasravi</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>materka</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2334051</commentid>
    <comment_count>0</comment_count>
    <who name="">siavosh.kasravi</who>
    <bug_when>2024-07-02 09:45:46 +0000</bug_when>
    <thetext>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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2334193</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-07-02 18:04:48 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 489286 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2334444</commentid>
    <comment_count>2</comment_count>
    <who name="">siavosh.kasravi</who>
    <bug_when>2024-07-03 04:04:08 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336381</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-07-10 20:31:52 +0000</bug_when>
    <thetext>On closer reading, you&apos;re right. But why isn&apos;t this a series of app bugs? System tray icons are 100% custom, made by the app. It&apos;s up to each app to implement sane behaviors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336637</commentid>
    <comment_count>4</comment_count>
    <who name="">siavosh.kasravi</who>
    <bug_when>2024-07-11 15:12:03 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #3)
&gt; On closer reading, you&apos;re right. But why isn&apos;t this a series of app bugs?
&gt; System tray icons are 100% custom, made by the app. It&apos;s up to each app to
&gt; implement sane behaviors.

Actually this is possible but I can&apos;t confirm that. If checked by an expert on the matter, I will notify the regarding app.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2339314</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-07-22 21:01:50 +0000</bug_when>
    <thetext>It was an annoying leading question. :) The answer is that yes, tray icon behaviors are up to their apps&apos; developers. Which makes consistency impossible, practically speaking. Which is one of the many reasons why app-provided tray icons suck! &gt;:D</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2339437</commentid>
    <comment_count>6</comment_count>
    <who name="">siavosh.kasravi</who>
    <bug_when>2024-07-23 06:46:40 +0000</bug_when>
    <thetext>So you WERE the expert ).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>