Remove button missing after package installation

Bug #1551599 reported by Kev Bowring
150
This bug affects 28 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Medium
Unassigned
Release Notes for Ubuntu
Fix Released
Undecided
Unassigned
gnome-software (Ubuntu)
Fix Released
High
Unassigned
Xenial
Invalid
High
Unassigned
Yakkety
Invalid
High
Unassigned
Zesty
Invalid
High
Unassigned

Bug Description

[What Happens]
==============
Installing
----------
1. Open the Software app (GNOME Software). Search for clocks.
2. Click Install next to Clocks.
3. The Install button becomes insensitive and changes to Installing...
4. The Install button becomes sensitive again and changes back to Install (it should have changed to Remove)
5. If you click the Clocks row (still in the All page), the Clocks info page opens with an Install button (it should have a Launch button and a Remove button).
6. If you switch to the Installed page, Clocks correctly shows up with a Remove button.
7. If you click the Clocks row in the Installed page, the Clocks info page correctly opens with a Launch button and a Remove button.
8. Close the Software app then reopen it. Same results as #4-7 above.
9. $ pkill gnome-software
10. Open the Software app. Now Clocks shows up correctly in the All page with a Remove button and the Clocks info page correctly includes the Launch and Remove buttons but not the Install button.

Removing
--------
11. Click the Remove button to uninstall Clocks.
12. The Remove button becomes insensitive again and changes to Removing...
12. We basically get the same broken results as before. In the All page, the Clocks row shows Remove still. Clicking the Clocks row shows the Info page with Launch and Remove.
One change is that in the Installed page, Clocks shows up twice, once with an Install button, once with a Remove button.
Completely stopping the gnome-software process (via logging out or the pkill trick mentioned in #9) is necessary for the Software app to correctly register Clocks as being removed.

I was unable to reproduce this bug with Fedora 24.

Other Info
==========
See also bug 1582959 which is similar but a bit different.

In bug 1679417, a user reported that the package disappears from the Installed list if Remove is selected but password authentication is cancelled or failed.

[Original bug report]
=====================
Used gnome-software to install a package.

Once it was installed I expected to see an option to remove it.

As can be seen all I see is the option to Install the package.

If you click Install you are then given the option to remove the package.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-software 3.19.91~git20160229.ceb6b9d-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
Uname: Linux 4.4.0-8-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Mar 1 08:05:06 2016
InstallationDate: Installed on 2015-10-29 (123 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151029)
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kev Bowring (flocculant) wrote :
summary: - Optioon to remove missing after package installation
+ Option to remove missing after package installation
Revision history for this message
Kev Bowring (flocculant) wrote : Re: Option to remove missing after package installation

second screen showing remove option

Kev Bowring (flocculant)
summary: - Option to remove missing after package installation
+ Option to remove icon missing after package installation
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Option to remove icon missing after package installation

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-software (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1551599

tags: added: iso-testing
Changed in gnome-software (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Alessandro Viprati (vipri-alessandro) wrote :

bug still present in gnome-software 3.20.1~git20160331.78d1aab-0ubuntu2

William Hua (attente)
summary: - Option to remove icon missing after package installation
+ Remove button missing after package installation
Revision history for this message
Kev Bowring (flocculant) wrote :

all for things being precise - but is the issue dealt with here attente :)

Mathew Hodson (mhodson)
Changed in ubuntu-release-notes:
status: New → Fix Released
Changed in gnome-software (Ubuntu):
importance: High → Medium
Changed in hundredpapercuts:
importance: High → Medium
Changed in gnome-software (Ubuntu):
importance: Medium → Low
Changed in hundredpapercuts:
importance: Medium → Low
importance: Low → Medium
Changed in gnome-software (Ubuntu):
importance: Low → Medium
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I can confirm this bug. The "Install" button still shows instead of "Remove" even after closing and reopening Software. The only place I see a "Remove" button for the app I installed is if I click the "Installed" button in the top toolbar.

Jeremy Bícha (jbicha)
description: updated
Temondong (temondong787)
Changed in gnome-software (Ubuntu):
assignee: nobody → Temondong (temondong787)
Jeremy Bícha (jbicha)
Changed in gnome-software (Ubuntu):
importance: Medium → High
assignee: Temondong (temondong787) → nobody
Revision history for this message
Daniel Holz (daniel-holz91) wrote :

This bug is still present in Ubuntu Gnome 17.04.

Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I am unable to duplicate this bug with gnome-software 3.24.1 in Ubuntu 17.10 Alpha.

The bug is still present in Ubuntu 17.04 although it feels to me like it's closer to working than it was with earlier versions.

Changed in gnome-software (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → High
Changed in gnome-software (Ubuntu Yakkety):
status: New → Confirmed
importance: Undecided → High
Changed in gnome-software (Ubuntu Zesty):
importance: Undecided → High
status: New → Confirmed
Changed in gnome-software (Ubuntu):
status: Confirmed → Fix Released
Changed in gnome-software (Ubuntu):
assignee: nobody → SeongJin Cheong (azmaster82)
Paul White (paulw2u)
Changed in gnome-software (Ubuntu):
assignee: SeongJin Cheong (azmaster82) → nobody
Revision history for this message
Lawrence Young (lorenzojoven) wrote :

none

Changed in hundredpapercuts:
assignee: nobody → Lawrence Young (lorenzojoven)
Revision history for this message
Paul White (paulw2u) wrote :

Further to comment #9 this issue seems fixed. I tested with gnome-software version 3.38.1-1 in the current development version (impish) and the 'Remove' button was displayed immediately after installation completed.

xenial, yakkety and zesty are no longer supported so closing bug report.

Changed in hundredpapercuts:
assignee: Lawrence Young (lorenzojoven) → nobody
Changed in gnome-software (Ubuntu Xenial):
status: Confirmed → Invalid
Changed in gnome-software (Ubuntu Yakkety):
status: Confirmed → Invalid
Changed in gnome-software (Ubuntu Zesty):
status: Confirmed → Invalid
Changed in hundredpapercuts:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.