Bug 457203

Summary: Discover's update progress notification shows "Updating 0 of 2 Items"
Product: [Applications] Discover Reporter: Nicolas Fella <nicolas.fella>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.25.4

Description Nicolas Fella 2022-07-27 14:53:17 UTC
STEPS TO REPRODUCE
1. Open Discover
2. There was an app update (Flatpak)
3. Click Update
4. Close Window

OBSERVED RESULT
A job notification saying "Updating 0 of 2 items". The number stayed the same for the entire update and the job ended with "Finished: Updating 0 of 2 items"


EXPECTED RESULT
The number starts counting with 1 and actually counts up


SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15.5-kde
Comment 1 Nate Graham 2022-07-27 20:08:17 UTC
Can reproduce that.
Comment 2 Aleix Pol 2022-07-28 10:52:59 UTC
Git commit c00009208890df701bfa820b49270ccd062521dd by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 28/07/2022 at 10:34.
Pushed by apol into branch 'master'.

libnotificationmanager: Fix displaying item-based jobs

The logic was all there but we were not emitting when the text would
change, which would then never reflect on the UI.

M  +2    -0    libnotificationmanager/job.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/c00009208890df701bfa820b49270ccd062521dd