After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645447 - unwanted extension of mimeapps.list [Added Associations] x-scheme-handler
unwanted extension of mimeapps.list [Added Associations] x-scheme-handler
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-03-21 19:31 UTC by Stanislav Brabec
Modified: 2018-05-24 12:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stanislav Brabec 2011-03-21 19:31:03 UTC
How to reproduce:

1. 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;

2. update-desktop-database

3. Run gnome-default-applications-properties and select Dummy

4. Edit /usr/share/applications/dummy.desktop and remove MimeType line

5. update-desktop-database

6. 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
Comment 1 Matthias Clasen 2011-04-07 13:44:31 UTC
handling of mimeapps.list is mostly in GIO
Comment 2 GNOME Infrastructure Team 2018-05-24 12:59:39 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/397.