Bug 396351 - "Remove" button changes to "Downloading" while a snap package is uninstalled
Summary: "Remove" button changes to "Downloading" while a snap package is uninstalled
Alias: None
Product: Discover
Classification: Applications
Component: Snap Backend (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
Depends on:
Reported: 2018-07-10 00:15 UTC by Patrick Silva
Modified: 2018-11-05 14:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-07-10 00:15:00 UTC
Open discover
Click "installed" in the sidebar
Click "remove" button of some snap package.
The button label changes to "Downloading" while the package is uninstalled.

This behavior does not occur while discover uninstalls
a package installed via neon repos or flatpak.
Comment 1 Aleix Pol 2018-07-11 21:32:24 UTC
Git commit fa66dbf50b06b75a8bf41a6683212f60010c8f71 by Aleix Pol.
Committed on 11/07/2018 at 21:28.
Pushed by apol into branch 'Plasma/5.12'.

Proper status when removing snaps

M  +1    -1    libdiscover/backends/SnapBackend/SnapTransaction.cpp

Comment 2 Patrick Silva 2018-10-26 01:24:06 UTC
This bug is back on neon dev unstable.

KDE Plasma Version: 5.14.80
Qt Version: 5.11.2
KDE Frameworks Version: 5.52.0
Comment 3 Aleix Pol 2018-11-05 14:46:46 UTC
Git commit e2c1814b06d37d5c274f6354e15f40bcba60e9b1 by Aleix Pol.
Committed on 05/11/2018 at 14:43.
Pushed by apol into branch 'Plasma/5.14'.

snap: improve transaction status

Use the task status instead of guessing what's going on, so it's true
and accurate.

M  +10   -3    libdiscover/backends/SnapBackend/SnapTransaction.cpp