When executing mailto:whoever@wherever.com with krunner one would expect the mail application to open with a new message edition window with that address. Instead it opens http://whoever@wherever.com in the browser. Reproducible: Always Steps to Reproduce: 1. Open krunner. 2. Execute mailto:whoever@wherever.com Actual Results: http://whoever@wherever.com is opened in the web browser Expected Results: Mail application opens with a new message edition window with that address.
There is actually code that checks for exactly that but for some reason between KRunner processing everything and the Location Runner getting the context, a http:// is prepended to the URL and so its check for if (url.scheme() == "mailto") fails
Moreover, QUrl::fromUserInput treats "mailto:foo@bar.baz" as invalid email address, it requires mailto://foo@bar.baz; even then KProtocolInfo::isKnownProtocol("mailto") returns false, so there's a lot broken here.
Right now it does not work at all. *** This bug has been marked as a duplicate of bug 416257 ***