Bug 388915

Summary: After terminating app installation by canceling out of the password prompt, the app is still listed in "Tasks"
Product: [Applications] Discover Reporter: Nate Graham <nate>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Canceled installing Transmission, but it's still visible in the Tasks item

Description Nate Graham 2018-01-13 16:36:23 UTC
Created attachment 109837 [details]
Canceled installing Transmission, but it's still visible in the Tasks item

Steps to reproduce:
1. compile Discover from git master
2. Navigate to any app and click on the Install button
3. When the password authentication dialog appears, click Cancel

Expected results:
Nothing in the UI suggests that the app is being installed

Actual results:
The Sidebar gains a "Tasks" item, and if you click it, you can see the app listed there that you canceled out of installing. See attached screenshot. You can quit Discover and install other apps with out issue.
Comment 1 Aleix Pol 2018-01-16 16:56:17 UTC
Git commit 2b6507f27c5427cfc928b6e76b714978828e80ee by Aleix Pol.
Committed on 16/01/2018 at 16:51.
Pushed by apol into branch 'Plasma/5.12'.

Fix removing cancelled transactions

M  +6    -3    discover/qml/ProgressView.qml

https://commits.kde.org/discover/2b6507f27c5427cfc928b6e76b714978828e80ee