Created attachment 118077 [details] tasks 0% unable to close SUMMARY Cancelled installation of a Snap package (VSCode) made Discovery lock up with a 0% task in the tube. I got the following prompt, after pressing Install and submitting my password for installing: "This snap application needs security confinement measures disabled." I clicked Cancel on the dialogue. This made Discover lock at a "Task (0%)" and give me the error "Could not close the application, there are tasks that need to be done". Each time I click on "Task (0%)" (bottom right corner), I get the narrow overlay with a queue. Here I see two instances of Visual Code (two because I tried again for this report, had only one previously) STEPS TO REPRODUCE 1. Select install on a Snap package (in my case VSCode) 2. PW when prompted with normal admin privileges 3. Cancel when asked to allow snap to disable security confinement 4. Observe the frozen task in Tasks OBSERVED RESULT Freezing, unable to close Discover due to the Task stuck in the queue. EXPECTED RESULT The install should terminate, clearing the Tasks queue. SOFTWARE/OS VERSIONS Operating System: Kubuntu 18.10 KDE Plasma Version: 5.14.5 Qt Version: 5.11.1 KDE Frameworks Version: 5.52.0 Kernel Version: 4.18.0-15-generic OS Type: 64-bit
Created attachment 118078 [details] queue which won't clear after cancellation
*** Bug 403463 has been marked as a duplicate of this bug. ***
Still reproducible on neon dev unstable. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.15.80 KDE Frameworks Version: 5.58.0 Qt Version: 5.12.0
Git commit 31c9dac67093e5c7e46c7af124105d4ebfeec064 by Aleix Pol. Committed on 28/10/2019 at 17:46. Pushed by apol into branch 'Plasma/5.17'. snap: fix cancelling M +2 -2 libdiscover/backends/SnapBackend/SnapTransaction.cpp https://commits.kde.org/discover/31c9dac67093e5c7e46c7af124105d4ebfeec064
This issue is still reproducible on Neon testing and Neon unstable editions.