unwanted extension of mimeapps.list [Added Associations] x-scheme-handler
@stanislav-brabec
Submitted by Stanislav Brabec Link to original bug (#645447)
Description
How to reproduce:
-
Create following desktop file in /usr/share/applications/dummy.desktop [Desktop Entry] Name=Dummy TryExec=true Exec=true Type=Application MimeType=x-scheme-handler/mailto;
-
update-desktop-database
-
Run gnome-default-applications-properties and select Dummy
-
Edit /usr/share/applications/dummy.desktop and remove MimeType line
-
update-desktop-database
-
Run gnome-default-applications-properties
Actual result: Dummy is still selected as default, ~/.local/share/applications/mimeapps.list is extended with (in most cases incorrect): [Added Associations] x-scheme-handler/mailto=dummy.desktop;
Expected result: Desktop file change cleanly declares, that the new version does not support mailto handler any more. Pick the default, report error to user and as for confirmation, but do not put the desktop file to [Added Associations].
openSUSE 11.4 with GNOME 2.32 gnome-control-center-2.32.1