snapd-glib 1.24 now sends the cancel to snapd, however if you are using a Polkit enabled snapd this method doesn't work through Polkit. This causes an Ubuntu One dialog to pop up if not logged in.
This should be fixed in snapd so that cancels can occur the same way as install/remove. ** Also affects: snapd-glib (Ubuntu) Importance: Undecided Status: New ** Also affects: gnome-software (Ubuntu Bionic) Importance: High Assignee: Robert Ancell (robert-ancell) Status: In Progress ** Also affects: snapd-glib (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: snapd-glib (Ubuntu Bionic) Status: New => Fix Committed ** Changed in: snapd-glib (Ubuntu Artful) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Changed in: snapd-glib (Ubuntu Bionic) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Changed in: snapd-glib (Ubuntu Bionic) Importance: Undecided => High ** Changed in: snapd-glib (Ubuntu Artful) Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1721762 Title: Cancelled installation of snap continues Status in gnome-software package in Ubuntu: In Progress Status in snapd-glib package in Ubuntu: Fix Committed Status in gnome-software source package in Artful: In Progress Status in snapd-glib source package in Artful: New Status in gnome-software source package in Bionic: In Progress Status in snapd-glib source package in Bionic: Fix Committed Bug description: with core candidate: 16-2.28.1 Test Case 1. Install a snap package 2. When the installation is ongoing, press Cancel 3. Verify that installation stopped (snap changes then snap change ID) Expected result Installation is cancelled Actual result It continues in the background and gnome-software shows the wrong state ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: gnome-software 3.26.0-0ubuntu3 ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3 Uname: Linux 4.13.0-12-generic x86_64 ApportVersion: 2.20.7-0ubuntu2 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Fri Oct 6 13:38:01 2017 InstallationDate: Installed on 2014-07-23 (1170 days ago) InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2) InstalledPlugins: gnome-software-plugin-flatpak N/A gnome-software-plugin-limba N/A gnome-software-plugin-snap 3.26.0-0ubuntu3 ProcEnviron: TERM=screen-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=fr_FR.UTF-8 SHELL=/bin/bash SourcePackage: gnome-software UpgradeStatus: Upgraded to artful on 2017-06-13 (115 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1721762/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp