Bug 421344

Summary: Notifications applet closes itself after removing all notifications while the system tray popup is pinned open
Product: [Plasma] plasmashell Reporter: popov895 <popov895>
Component: NotificationsAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.18.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.19

Description popov895 2020-05-11 16:02:22 UTC
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 "Keep Open" 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
Comment 1 popov895 2020-05-11 16:11:33 UTC
Submitted a patch: https://phabricator.kde.org/D29651
Comment 2 Nate Graham 2020-05-11 17:59:00 UTC
Git commit e6ed4a888314082e7f2bd93293f998110249016c by Nate Graham, on behalf of Eugene Popov.
Committed on 11/05/2020 at 17:58.
Pushed by ngraham into branch 'master'.

[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
Comment 3 popov895 2020-06-12 15:50:14 UTC
Can be reproduced on Plasma 5.18.5 LTS
Comment 4 Nate Graham 2020-06-13 02:01:35 UTC
It's fixed in 5.19