Bug 396426

Summary: No notification when Discover finds updates in a just started plasma session
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: Updates (interactive)Assignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: 5.13.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.7

Description Patrick Silva 2018-07-12 02:49:59 UTC
Sometimes I start plasma and Discover icon in the
system tray indicates no update available.
Some minutes later a small blue/red icon overlaps
the Discover icon in the system tray indicating
that updates are available but Discover/Plasma shows
no updates notification.
Comment 1 Kai Uwe Broulik 2018-09-24 06:35:27 UTC
Git commit 8b2cf5d81a6133445e0bf838a7f6996391c5be8f by Kai Uwe Broulik.
Committed on 24/09/2018 at 06:34.
Pushed by broulik into branch 'Plasma/5.12'.

Fix showing update notification

It would check whether the old count was greater than or equal to the new count which is the wrong way round and as such the notification was never shown.
Related: bug 390322
FIXED-IN: 5.12.7

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

M  +1    -1    notifier/DiscoverNotifier.cpp

https://commits.kde.org/discover/8b2cf5d81a6133445e0bf838a7f6996391c5be8f