GNOME Bugzilla – Bug 633753
get rid of multiple .desktop files for device launching
Last modified: 2020-03-17 08:52:00 UTC
This report was originally filled at: https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/524684 banshee provides multiple entries in 'open with' dialog (see screenshot ) [1]https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/524684/+attachment/1150936/+files/Screenshot-Open%20With.png
The duplicates are .desktop files we ship to handle devices etc, but that have NoDisplay=true in them. There is either a duplicate Banshee bug or a bug against nautilus or whatever about this...I think they were trying to tell us that NoDisplay=true shouldn't keep items from appearing in that list, but just only in something else..maybe the application menu?
This issue is still occurring with banshee 2.0.0 tested with Ubuntu Natty, as Gabriel told me in a IRC conversation: "gabaug> we could probably remove the others, and when passed a URI, check if it matches the mount point of a device or something" This is a comment just for the record and a future fix, Victor
I do consider this a bug in Banshee. It's there to make the UX of inserting a CD/Device work well -- the popup appears with one of the Banshee .desktop files in the dropdown list (b/c it matches the audiocd or device mimetype) and selecting it activates the device nicely. We can probably accomplish this in a different way with just a single .desktop file, by inspecting URIs passed in to see if they are hardware devices (audiocd/device), by matching on mountpoints, looking for cdda:// or whatever is passed for an audiocd, etc.
Or maybe more simply, asking GIO for the mimetype of the URI. :)
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.