Removing a webapp package doesn't remove its shortcut from the dash

Bug #1161423 reported by Alberto Salvia Novella
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Triaged
Low
Unassigned
Unity
Triaged
Low
Unassigned
unity (Ubuntu)
Triaged
Low
Unassigned

Bug Description

******************
STEPS TO REPRODUCE
******************
1. Write into the Terminal "sudo apt-get install unity-webapps-gmail -y"
2. Write into the Terminal "sudo apt-get remove unity-webapps-gmail -y"
3. Press the "Super" key and type "gmail"

*********
BEHAVIOUR
*********
- EXPECTED: The webapp not to be available.
- REAL: The webapp is still available.

***********
WORK-AROUND
***********
- Manually remove the app from "~/.local/share/applications" and "~/.icons".

****************
RELEVANT DETAILS
****************
- It affect any webapp.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: unity 6.12.0daily13.03.25.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-15.25-generic 3.8.4
Uname: Linux 3.8.0-15-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Thu Mar 28 15:18:01 2013
InstallationDate: Installed on 2013-03-23 (4 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130323)
MarkForUpload: True
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :
Changed in hundredpapercuts:
assignee: nobody → Paper Cuts Ninja (papercuts-ninja)
Revision history for this message
Yoshee (yoshee) wrote :

I tried to reproduce it, but it didn't affect me (up-to-date ubuntu 13.04)

Revision history for this message
Ghislain Vaillant (ghisvail) wrote :

Same here.

Revision history for this message
dobey (dobey) wrote :

Removed software-center from affects list as it has nothing to do with this. Marked as incomplete as 2 people have stated it works as expected.

If you've got the .desktop file for the app in ~/.local/share/icons/ then it was not added there by a package. But was added by selecting to add the integration when visiting the site in Firefox or Chromium. Packages should not and cannot touch files in user directories, only system files. You will need to remove any per-user configuration on your own.

no longer affects: software-center
summary: - Removing a webapp from the software center doesn't remove its shortcut
- from the dash
+ Removing a webapp package doesn't remove its shortcut from the dash
Changed in unity (Ubuntu):
status: New → Incomplete
Changed in hundredpapercuts:
status: New → Incomplete
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Please, set bug priority to "Wishlist" as removing webapps from a GUI is a feature that should be there. Then change bug status to "new".

Revision history for this message
Robert Bruce Park (robru) wrote :

So, I just did this:

sudo apt-get remove unity-webapps-gmail -y

and the gmail icon remained in my launcher, even after closing the gmail tab it was still there. I don't think this is related to icon files that live in ~/.local/share/icons, because you need more than just a PNG for an icon to appear in the launcher (I think you need at least a .desktop file, maybe more, not sure).

I am also using the latest raring.

Changed in hundredpapercuts:
importance: Undecided → Wishlist
Changed in unity (Ubuntu):
importance: Undecided → Wishlist
Changed in hundredpapercuts:
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Mondane (mondane-woodworker) wrote :

I added launchpad integration via firefox, after removing it using the software center, it seemed to work. Now, after a reboot, the icon still remains in the launcher and shows up in the dash.

Running Raring Ringtail (13.04).

Changed in unity (Ubuntu):
importance: Wishlist → Low
Changed in hundredpapercuts:
importance: Wishlist → Undecided
Changed in unity (Ubuntu):
status: Confirmed → Triaged
Changed in hundredpapercuts:
status: Confirmed → Triaged
importance: Undecided → Low
Changed in hundredpapercuts:
assignee: Papercuts Ninjas (papercuts-ninja) → nobody
Changed in unity:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Arthur Blair (adblair) wrote :

Corresponding entries in indicator menus also remain after webapps are uninstalled. For example, after uninstalling unity-webapps-facebookmessenger, a "Facebook Messenger" entry (with a broken icon) remains in the messaging menu.

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.