Bug 392056

Summary: Updates in the system tray do not include the security updates
Product: [Applications] Discover Reporter: RaitaroH <RaitaroHikami>
Component: Updates (interactive)Assignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, kde, nate, zrenfire
Priority: NOR    
Version: 5.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.6
Attachments: Tray screenshot. Either change the text or fix the countint issue.
The updates in discover

Description RaitaroH 2018-03-19 13:28:41 UTC
Created attachment 111498 [details]
Tray screenshot. Either change the text or fix the countint issue.

The number of updates in the tray shows that all the updates are the non-security updates and the security updates are displayed as separate. This actually means that in my case I have 5 normal updates (showed as all of them) of which 8 are security updates (obviously I have 5+8 updates in total).
Comment 1 RaitaroH 2018-03-19 13:29:00 UTC
Created attachment 111499 [details]
The updates in discover
Comment 2 Chris Holland 2018-06-19 00:31:54 UTC
Recently reported on reddit:
https://www.reddit.com/r/kde/comments/8rzrr6/so_whats_the_logic_behind_updater/

I submitted a possible patch that might fix this:
https://phabricator.kde.org/D13596
Comment 3 Chris Holland 2018-06-19 21:09:37 UTC
Git commit 9577e7d1d333d43d899e6eca76bfb309483eb29a by Chris Holland.
Committed on 19/06/2018 at 21:04.
Pushed by cholland into branch 'Plasma/5.12'.

Fix there being more security updates than total updates in notifier

We currently read the previous `m_securityCount` instead of using the current `securityCount`.
FIXED-IN: 5.12.6

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

M  +1    -1    notifier/DiscoverNotifier.cpp

https://commits.kde.org/discover/9577e7d1d333d43d899e6eca76bfb309483eb29a