Bug 327677 - mailto should open mail application
Summary: mailto should open mail application
Status: RESOLVED DUPLICATE of bug 416257
Alias: None
Product: krunner
Classification: Plasma
Component: webshortcuts (show other bugs)
Version: 4.11.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-16 08:57 UTC by Pablo
Modified: 2020-07-11 15:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo 2013-11-16 08:57:36 UTC
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.
Comment 1 Kai Uwe Broulik 2016-03-02 13:58:35 UTC
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
Comment 2 Kai Uwe Broulik 2016-03-02 14:04:36 UTC
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.
Comment 3 Alexander Lohnau 2020-07-11 15:33:42 UTC
Right now it does not work at all.

*** This bug has been marked as a duplicate of bug 416257 ***