<?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>377956</bug_id>
          
          <creation_ts>2017-03-22 20:50:57 +0000</creation_ts>
          <short_desc>System tray&apos;s popups get lost if minimized (via global shortcut)</short_desc>
          <delta_ts>2020-01-04 14:46:32 +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>5.10.4</version>
          <rep_platform>Mageia RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>1</everconfirmed>
          <reporter name="JanKusanagi">jan-bugs</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>bugseforuns</cc>
    
    <cc>jan-bugs</cc>
    
    <cc>materka</cc>
    
    <cc>nikita.yoush</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>1667774</commentid>
    <comment_count>0</comment_count>
    <who name="JanKusanagi">jan-bugs</who>
    <bug_when>2017-03-22 20:50:57 +0000</bug_when>
    <thetext>OK, I&apos;m going for weird bug of the year here =)

First, some background: I have global shortcuts set for maximizing and minimizing windows, configured in System Settings &gt; Workspace &gt; Shortcuts &gt; Global Shortcuts. I have only one screen and only one panel, at the bottom.


Today the Device Notifier popup appeared after inserting a USB drive, at the time I went to minimize a window with my global shortcut. Apparently the Device Notifier stole the focus, because the &quot;minimizing&quot; happened to the DN popup, not to the currently active window.

Fair enough... but now, clicking on the Device Notifier, or any other, let&apos;s say, &quot;plasma-native&quot; icon in the systray that would show a popup (notifications and volume controller, in my case), no longer appear. Clicking them now shows a slight animation like focus is traveling from that icon to a point outside of the screen, somewhere at the far right/down corner, and no popup. Clicking the icon again reverses that &quot;animation&quot; and the &quot;little light&quot; comes back to the icon from that limbo-place xD

For comparison, I can trigger the same thing to the &quot;calendar popup&quot; that appears when clicking the Digital Clock plasmoid in the panel, but in this case, the calendar appears correctly after clicking the clock again, only this time, it appears with a &quot;restore window from minimized state&quot; animation, which looks weird, but it _is_ restored. It seems to be only an issue with the popups that come from the systray.

This happened to me in Plasma 5.8.6, but I&apos;ve reproduced it on the first try on a Plasma 5.9.3 machine.

I realize this is a bug that very few people will ever trigger, but still ;)

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1667777</commentid>
    <comment_count>1</comment_count>
    <who name="JanKusanagi">jan-bugs</who>
    <bug_when>2017-03-22 21:00:29 +0000</bug_when>
    <thetext>Just for completeness: I just checked, and once this bug is triggered, the Battery and Brightness icon, the KDE Connect icon, and the Clipboard icon suffer the same fate, if they&apos;re in the systray.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699644</commentid>
    <comment_count>2</comment_count>
    <who name="JanKusanagi">jan-bugs</who>
    <bug_when>2017-09-08 01:16:38 +0000</bug_when>
    <thetext>Follow-up fun: Since I also have a global shorcut, I realized that triggering window maximization (and later, &quot;window restore&quot;) also affects these popups (and in this case, the calendar too) in an ugly way. Nothing&apos;s lost in this case, at least xD

This on Plasma 5.10.4 now.

Cheers!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699645</commentid>
    <comment_count>3</comment_count>
    <who name="JanKusanagi">jan-bugs</who>
    <bug_when>2017-09-08 01:22:21 +0000</bug_when>
    <thetext>In the comment above, &quot;Since I also have a global shorcut&quot; was meant to end with &quot;for maximizing windows&quot; ;)

More additional info: If I trigger this bug and send the systray popups to &quot;limbo&quot;, they&apos;re still accessible via Kwin&apos;s alt-tab list, appearing there as &quot;Plasma&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1706711</commentid>
    <comment_count>4</comment_count>
    <who name="Nikita Yushchenko">nikita.yoush</who>
    <bug_when>2017-10-18 06:08:34 +0000</bug_when>
    <thetext>Same happens on Debian Stretch system, with plasmashell 5.8.6

Related Debian bug report is at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876907</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1733921</commentid>
    <comment_count>5</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2018-02-26 14:25:52 +0000</bug_when>
    <thetext>Confirmed on Arch Linux, plasma 5.12.2.

(In reply to JanKusanagi from comment #3)
&gt; More additional info: If I trigger this bug and send the systray popups to
&gt; &quot;limbo&quot;, they&apos;re still accessible via Kwin&apos;s alt-tab list, appearing there
&gt; as &quot;Plasma&quot;.

Also confirmed.

Bugs below seem related:
https://bugs.kde.org/show_bug.cgi?id=383053
https://bugs.kde.org/show_bug.cgi?id=381242</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1752986</commentid>
    <comment_count>6</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2018-05-16 17:55:02 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 381242 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765771</commentid>
    <comment_count>7</comment_count>
    <who name="Nikita Yushchenko">nikita.yoush</who>
    <bug_when>2018-07-07 15:41:51 +0000</bug_when>
    <thetext>This bug still reproduces if patch from bug 381242 is applied over plasma-framework package from debian stretch.

I can reliably reproduce the bug by:

- have Telegram Desktop application started
  - it has a systray icon, that by default becomes &quot;hidden&quot; i.e. shown only in systray&apos;s popup dialog

- have Telegram window opened on desktop different from current one

- click on Telegram&apos;s entry in system tray&apos;s popup dialog.

On click, desktop gets switched to where Telegram&apos;s window is. And after that, click on system tray no longer shows any dialogs up to when plasmashell is killed and restarted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765783</commentid>
    <comment_count>8</comment_count>
    <who name="Nikita Yushchenko">nikita.yoush</who>
    <bug_when>2018-07-07 16:24:01 +0000</bug_when>
    <thetext>Although this may be caused by debian stretch having Qt 5.7 (which is less than 5.10)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900258</commentid>
    <comment_count>9</comment_count>
    <who name="Konrad Materka">materka</who>
    <bug_when>2020-01-03 15:39:59 +0000</bug_when>
    <thetext>Is it still affecting you? Latest stable Debian uses Qt 5.11, with this version is should be OK now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900318</commentid>
    <comment_count>10</comment_count>
    <who name="Nikita Yushchenko">nikita.yoush</who>
    <bug_when>2020-01-03 20:02:15 +0000</bug_when>
    <thetext>Not on Debian buster</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>