Version: unspecified OS: Linux The KMail.desktop file is missing the MimeType field Reproducible: Always Steps to Reproduce: Open Gnome Control center-> default/preferred applications -> you can't choose KMail as default mail client! Actual Results: More like what DID NOT happen... Expected Results: Listed KMail
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/791635
Created attachment 61104 [details] Fixes bug #275949
Please post this patch on git.reviewboard.kde.org as patches in bugzilla has a tendency to be forgotten.
The x-scheme-handler/mailto addition looks very much correct, since kmail can take a mailto URL as argument. However the message/rfc822 addition doesn't look correct, since passing a path to a .eml file to kmail doesn't work, the command-line option --msg is necessary for that. So this would require a different .desktop file with --msg %f in the Exec line, but that wouldn't help "using kmail as the default mailer in gnome" since you want to run "kmail", not "kmail --msg". Seems to me that this is an oversight in the way that gnome control center works. It cannot be assumed that we can just run the command for vieweing a mail file, and run that same command without arguments in order to start the full mail application. Does it work ok if you only add the x-scheme-handler mimetype?
For the moment I add just x-scheme-handler to desktop file. I wait answer from fougner89@gmail.com Regards
Laurent, gnome-control-center only looks for x-scheme-handler/mailto for the default email provider. http://git.gnome.org/browse/gnome-control-center/tree/panels/info/cc-info-panel.c#n956
So it will works fine I think :) Sorry I don't use gnome environment so I can't validate it. But I think that we can close it no ?
Yes, this looks fixed to me. Will this be backported to 4.7.3 also?
I backported to 4.7.3 yes. So I close it. Reopen if there is a pb :) Regards