Bug 501542

Summary: No progress bar during "Refreshing updates..." after updates have been installed
Product: [Applications] Discover Reporter: John Veness <john.kde>
Component: UpdatesAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:
Attachments: No progress bar seen (seen around 40 seconds and onwards)

Description John Veness 2025-03-15 15:54:46 UTC
Created attachment 179431 [details]
No progress bar seen (seen around 40 seconds and onwards)

SUMMARY
If you refresh the list of updates *after* having already installed some updates, there is no progress bar.

STEPS TO REPRODUCE
1. Run Discover
2. Browse to Updates
3. Make sure some updates are available which won't require a reboot afterwards (e.g. flatpak updates)
4. Click Refresh
5. Observe that a progress bar is shown during "Refreshing updates..."
6. Install the updates and wait for them to finish
7. Click Refresh

OBSERVED RESULT
"Refreshing updates..." appears but there is no progress bar.

EXPECTED RESULT
"Refreshing updates..." appears with the usual progress bar.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250313
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-1-default (64-bit)
Graphics Platform: X11
Comment 1 Nate Graham 2025-03-17 18:13:53 UTC
Only seems to affect updates that don't require a reboot, as in that case, the refresh button doesn't appear.
Comment 2 John Veness 2025-04-21 12:47:47 UTC
If it helps narrow this down, I've noticed this also happens when (difference is in step 6 and 7 below):

1. Run Discover
2. Browse to Updates
3. Make sure some updates are available which won't require a reboot afterwards
4. Click Refresh
5. Observe that a progress bar is shown during "Refreshing updates..."
6. Untick some updates so only some are selected
7. Press Update Selected and wait for them to finish
8. Click Refresh
9. Observe no progress bar is shown during "Refreshing updates..."
Comment 3 John Veness 2025-06-27 07:13:42 UTC
This seems to have been fixed in 6.4.0.
Comment 4 Nate Graham 2025-06-27 18:35:12 UTC
Great!