Bug 422065

Summary: There is no way to use gmail web interface as default email client and "mailto:" link are not handled
Product: [Frameworks and Libraries] frameworks-kio Reporter: Sergey <rion4ik>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.69.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sergey 2020-05-25 18:33:06 UTC
I don't have kmail or any other email application installed. I use gmail web interface and I like to use email this way.

Unfortunately plasma settings do not have an option to setup gmail as a default email application.

and kde5-open ignores the settings at all for "mailto:" links.
So basically there is no way to click a "mailto:" link in some 3rdparty application and make my default browser load gmail web interface.


STEPS TO REPRODUCE
1. Have a clickable "mailto:" in any application which will likely use xdg-open
2. Click on it

OBSERVED RESULT
kio complains something about not found file for the mailto: link.
Being started from the terminal it also shows something about google-chrome even so I have Firefox as the default browser.
Nothing but the error dialog is opened as result.


EXPECTED RESULT
plasma default application settings have "GMail Web" option together with kmail.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux
(available in About System)
KDE Plasma Version: 5.18.4.1
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
I tried to clean up google-chrome where I could find it as a mailto handler. It changed nothing. I didn't try to re-login though or regenerate any caches. Just manual edits.


This task it probably has to be splitted into two. Like fix kio and implement ui.