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
I built gnome-software from upstream's master branch and the problem is still present there, too.
Thanks for reporting this, Mat! Should be fixed by https://git.gnome.org/browse/gnome-software/commit/?id=5c8918900f000b9f29c2edcffdbe60edbec0c9e8