Bug 1128354

Summary: wonky checkbox behaviour in the application addons section
Product: [Fedora] Fedora Reporter: Mat Booth <mat.booth>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: kalevlember, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-11 19:07:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screen cast of the wonky behaviour none

Description Mat Booth 2014-08-09 11:03:31 UTC
Created attachment 925365 [details]
screen cast of the wonky behaviour

If I uncheck an installed addon, but then change my mind and cancel in the confirmation dialog, then the checkbox still gets unchecked.

Then when I re-check the checkbox, I get a "Sorry, this did not work" -- presumably because the addon is already installed (I did not actually uninstall it)

I would expect it to not uncheck the checkbox until after I click ok in the confirmation dialog to indicate that I actually want the addon uninstalled.

See attached video (this might explain it better than the prose above).

$ rpm -q gnome-software
gnome-software-3.13.4-2.fc21.x86_64

Comment 1 Mat Booth 2014-08-09 20:32:49 UTC
I built gnome-software from upstream's master branch and the problem is still present there, too.

Comment 2 Kalev Lember 2014-08-11 19:07:09 UTC
Thanks for reporting this, Mat! Should be fixed by https://git.gnome.org/browse/gnome-software/commit/?id=5c8918900f000b9f29c2edcffdbe60edbec0c9e8