Public bug reported:

Binary package hint: alacarte

I ran into some unexpected behaviour when uninstalling a package, reported as a 
bug here:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/340162

The extra .desktop file created by Alacarte was left behind in 
~/.local/share/applications.   I realize that Alacarte cannot know when the 
package is removed that that file should be deleted.
https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/55853

However, Alacarte /can/ somtimes realize when the ~/.local copy is no
longer needed.  For me a common action is checking/unchecking items to
show/hide them in the menus.  When unchecked, alacarte creates the local
copy to override the system one and hide the application.  This can lead
to the unexpected behaviour that #33853 mentioned, but it should be the
package manager's job to get rid of the old file.  When the item is
rechecked, however, the local copy is no longer needed.  If alacarte
were smart about this, it would realize that the local copy is now
identical to the system one, and delete the local copy.  (This could
happen with other modifications, too, but seems less likely).


I've never written a patch before, and only know just enough Python to be 
dangerous, but I'm going to take a look at the source.

** Affects: alacarte (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Alacarte should avoid retaining unneeded files in ~/.local/share/applications
https://bugs.launchpad.net/bugs/340285
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to