http://bugs.winehq.org/show_bug.cgi?id=59767 Olivier F. R. Dierick <o.dierick@piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |integration --- Comment #13 from Olivier F. R. Dierick <o.dierick@piezo-forte.be> --- Hello, Wine doesn't register itself as the DEFAULT handler anywhere in the code. All Wine does is to install a few .desktop files in ~/.local/share/applications. The loader/wine.desktop file is not even there on my system. It's installed in "$INSTALL_DIR/share/applications", nowhere else, and 'xdg-mime query default <mimetype>' returns nothing for the concerned mimetypes. If it's different on your system, then it may come from the Wine package you installed. It probably copied the wine.desktop file into /usr/share/applications or the ~/.local equivalent. I'm not saying that it's wrong, though. My understanding of the XDG documentation is that setting the default handler is the responsibility of the user/system policy. However, XDG happily sets the default handler to the first handler if there is only one. The Freedesktop/MIME/XDG specifications provide no way for a .desktop file to indicate whether the handler is an opener or runner. Requiring that the default handler is an opener, but automatically setting the first one as the default without asking the user, and without anyway to tell openers from runners, is a broken implementation to me. XDG should either: - Not blindly set the first handler as the default handler; - Provide a mechanism to distinguish between openers and runners (and only use openers as default); If there is a bug somewhere, it's in the XDG implementation. Regards. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.