Bug 459576

Summary: Discover gets stuck after canceling the dialog asking if I want to proceed installing a Snap app inompatible with security sandboxing
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: Snap BackendAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, nate, sgmoore
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Patrick Silva 2022-09-23 19:12:28 UTC
SUMMARY
Can reproduce with Sublime Text and Alacritty terminal emulator.

STEPS TO REPRODUCE
1. open Discover and search for the snap version of Sublime Text or Alacritty terminal emulator
2. click on 'Install' button of the app - a dialog shows up asking 'This snap app is not compatible with security sandboxing and will have full access to this computer. Install it anyway?', with 'Proceed' and 'Cancel' buttons
3. click on 'Cancel' button

OBSERVED RESULT
the installation is not aborted, 'Cancel' button remains in the upper right-corner, it becomes greyed out if clicked,
then Discover gets stuck and I need to kill it.

EXPECTED RESULT
installation is aborted after click on 'Cancel' button of the dialog asking 'This snap app is not compatible with security sandboxing and will have full access to this computer. Install it anyway?'

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Graphics Platform: Wayland