<?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>421344</bug_id>
          
          <creation_ts>2020-05-11 16:02:22 +0000</creation_ts>
          <short_desc>Notifications applet closes itself after removing all notifications while the system tray popup is pinned open</short_desc>
          <delta_ts>2020-06-13 02:01:35 +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>Notifications</component>
          <version>5.18.5</version>
          <rep_platform>Other</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="popov895">popov895</reporter>
          <assigned_to name="Kai Uwe Broulik">kde</assigned_to>
          <cc>nate</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink>https://commits.kde.org/plasma-workspace/e6ed4a888314082e7f2bd93293f998110249016c</cf_commitlink>
          <cf_versionfixedin>5.19</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1928918</commentid>
    <comment_count>0</comment_count>
    <who name="popov895">popov895</who>
    <bug_when>2020-05-11 16:02:22 +0000</bug_when>
    <thetext>SUMMARY

When I pin a Notifications applet and then remove all notifications, the Notifications applet closes.

STEPS TO REPRODUCE
1. There should be notification(s) in the Notifications applet
2. Open Notifications applet
3. Check &quot;Keep Open&quot; button in the top right corner
4. Remove all notifications from the Notifications applet

OBSERVED RESULT

The Notifications applet closes.

EXPECTED RESULT

The Notifications applet remains opened.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE Neon 5.18
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928922</commentid>
    <comment_count>1</comment_count>
    <who name="popov895">popov895</who>
    <bug_when>2020-05-11 16:11:33 +0000</bug_when>
    <thetext>Submitted a patch: https://phabricator.kde.org/D29651</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928962</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-05-11 17:59:00 +0000</bug_when>
    <thetext>Git commit e6ed4a888314082e7f2bd93293f998110249016c by Nate Graham, on behalf of Eugene Popov.
Committed on 11/05/2020 at 17:58.
Pushed by ngraham into branch &apos;master&apos;.

[applets/notifications] Remain visible after removing all notifications while tray popup is pinned open

Summary:
When I pin a Notifications applet and then remove all notifications, the Notifications applet closes itself.

Reviewers: ngraham, plasma-devel, broulik

Reviewed By: ngraham, broulik

Subscribers: broulik

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29651

M  +1    -1    applets/notifications/package/contents/ui/main.qml

https://commits.kde.org/plasma-workspace/e6ed4a888314082e7f2bd93293f998110249016c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936463</commentid>
    <comment_count>3</comment_count>
    <who name="popov895">popov895</who>
    <bug_when>2020-06-12 15:50:14 +0000</bug_when>
    <thetext>Can be reproduced on Plasma 5.18.5 LTS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936616</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-06-13 02:01:35 +0000</bug_when>
    <thetext>It&apos;s fixed in 5.19</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>