Bug 407410

Summary: State of the checkbox is incorrect if I cancel the password dialog to confirm the modification of a Snap package permission
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: Snap BackendAssignee: Dan Leinir Turthra Jensen <leinir>
Status: REPORTED ---    
Severity: normal CC: aleixpol, nate, soumyadeepghosh2004
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2019-05-11 00:02:09 UTC
STEPS TO REPRODUCE
1. open the description page of a Snap package installed on your system
2. click "Change permissions..." button
3. check any permission (password dialog shows up)
4. cancel the password dialog

OBSERVED RESULT
the permission remains checked despite "access denied" message after
canceling the password dialog.
Leave the description page, reopen it, click "Change permissions..." button:
as expected, the permission previously checked (but not applied) is unchecked.

EXPECTED RESULT
The permission remains unchecked after canceling the password dialog.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0
Comment 1 Patrick Silva 2019-09-18 19:43:25 UTC
This behavior persists on Neon unstable edition. Tested with Discord Snap package.
Comment 2 Patrick Silva 2020-01-18 15:11:17 UTC
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Comment 3 Soumyadeep Ghosh 2024-09-23 20:27:54 UTC
Should be fixed with the addition of the new and shiny Snap KCM!

https://invent.kde.org/soumyadghosh/snap-kcm