Bug 390322

Summary: Discover shows updates notification while flatpaks are updated
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.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.7
Attachments: screenshot
Discover 5.12.2 on Arch Linux

Description Patrick Silva 2018-02-12 15:01:37 UTC
Created attachment 110562 [details]
screenshot

See screenshot taken on Arch Linux.
Comment 1 Aleix Pol 2018-02-12 17:46:26 UTC
Git commit 670bdaef73042facc66b9aaf6fd39697ede8167b by Aleix Pol.
Committed on 12/02/2018 at 17:45.
Pushed by apol into branch 'Plasma/5.12'.

Don't notify when the number of updates becomes smaller

M  +3    -3    notifier/DiscoverNotifier.cpp

https://commits.kde.org/discover/670bdaef73042facc66b9aaf6fd39697ede8167b
Comment 2 Patrick Silva 2018-02-23 14:35:49 UTC
Created attachment 110940 [details]
Discover 5.12.2 on Arch Linux

just happened again on Arch Linux.
Comment 3 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 396426
FIXED-IN: 5.12.7

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

M  +1    -1    notifier/DiscoverNotifier.cpp

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