We currently read the previous m_securityCount instead of using the current securityCount.
BUG: 392056
FIXED-IN 5.13.1 (or 5.13.2?)
FIXED-IN 5.12.6 (This should be backported right?) https://github.com/KDE/discover/blame/Plasma/5.12/notifier/DiscoverNotifier.cpp#L82
The bug report is from 5.12.3, and was also reported on reddit today. Both have a screenshot of the bug.
https://bugs.kde.org/show_bug.cgi?id=392056
https://www.reddit.com/r/kde/comments/8rzrr6/so_whats_the_logic_behind_updater/
We could also start the counter at 0 and add securityCount afterward.
- uint count = securityUpdatesCount(); + uint count = 0; foreach(BackendNotifierModule* module, m_backends) count += module->updatesCount(); + count += securityCount;