Bug 476152

Summary: "Get new" dialogs get stuck at "Working..." after uninstalling something
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: RESOLVED FIXED    
Severity: minor CC: alexander.lohnau, kdelibs-bugs, nate
Priority: NOR Keywords: qt6, regression
Version: 6.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Patrick Silva 2023-10-27 13:30:35 UTC
Created attachment 162594 [details]
screenshot

STEPS TO REPRODUCE
1. open Window Decorations KCM or another KCM with "Get new" feature
2. click on "Get new" button
3. install an addon
4. immediately uninstall the just installed addon

OBSERVED RESULT
The addon is uninstalled as expected and then the dialog gets stuck at "Working...". Please see the attached screenshot.

EXPECTED RESULT
The addon is uninstalled and the dialog does not get stuck at "Working..."

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-10-27 15:57:19 UTC
Can confirm. Looks like it's just cosmetic though as everything still seems to be working.
Comment 2 Bug Janitor Service 2024-03-13 10:31:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/302
Comment 3 Akseli Lahtinen 2024-03-13 16:44:48 UTC
Git commit 050a91f2591ee8ea97be04b1e6c400f9c1a2284e by Akseli Lahtinen.
Committed on 13/03/2024 at 16:44.
Pushed by akselmo into branch 'master'.

Refresh visible entry on uninstall

The only entry that is being refreshed after uninstall is the secondary uninstall entry that is not
shown to the user.

This refreshes also the visible one.

M  +5    -0    src/core/transaction.cpp

https://invent.kde.org/frameworks/knewstuff/-/commit/050a91f2591ee8ea97be04b1e6c400f9c1a2284e