Bug 413516

Summary: There's no API for cancelling installation of KNS assets
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: CONFIRMED ---    
Severity: normal CC: admin, aleixpol, bernie, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.63.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 357330    
Attachments: screenshot

Description Patrick Silva 2019-10-27 13:56:18 UTC
Created attachment 123518 [details]
screenshot

STEPS TO REPRODUCE
1. open Discover
2. search for "Arc-ICONS" and click on its "Install" button
3. 

OBSERVED RESULT
it's impossible to cancel the installation because "Cancel" button is greyed out while the icon theme is installed. See the attached screenshot.

EXPECTED RESULT
installation can be canceled

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Comment 1 Bernie Innocenti 2022-02-28 04:44:42 UTC
The UI has changed in Discover 5.24.80, but the problem remains: an addon failed to install, and the corresponding task hung with no way to cancel it.

I'll file a separate bug for the installation failing.
Comment 2 Bernie Innocenti 2022-02-28 04:59:30 UTC
Related bugs: #450948 and #425265