Bug 450508

Summary: Applications/Default Applications/Email Client -> "Google Chrome" does not work
Product: [Applications] systemsettings Reporter: Attila Fülöp <mr.attilaf>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: nicolas.fella
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: values of the drop down list
error message

Description Attila Fülöp 2022-02-18 08:48:07 UTC
Created attachment 146903 [details]
values of the drop down list

SUMMARY
***
If "Google Chrome" is selected as default application for Email client, the system fails whenever a user click on a "mailto" link.

***


STEPS TO REPRODUCE
1. Set "Google Chrome" (from the pre-populated drop down list - see attached screenshot) as the default "Email Client" in the System Settings/Applications/DefaultApplications 
2. Open Konsole
3. Clink on Help/About Konsole
4. Click on Authors
5. Click on mail icon (tooltip is: Email contributor)

OBSERVED RESULT

Error message popup: " Unable to create io-slave. Unknown protocol 'mailto' ". 

EXPECTED RESULT

Chrome is started with mailto "function" and user is able to edit the email.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 21.10 / 5.22.5
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

If the "Email client" is set to "google-chrome" shell script (located in the /opt/google/chrome/ directory), than the function is working, chrome is started and user is able to edit the email.
Comment 1 Attila Fülöp 2022-02-18 08:48:49 UTC
Created attachment 146904 [details]
error message
Comment 2 Nicolas Fella 2022-02-18 13:03:10 UTC
The error message is related to https://bugs.kde.org/show_bug.cgi?id=440062

Why it offers google chrome in the first place is a mystery, it doesn't do that there. Are you using Gmail in the browser?
Comment 3 Attila Fülöp 2022-02-18 13:34:10 UTC
After fresh install of Kubuntu I did not check the content of the dropdown list, but Chrome was not installed at that time.  So I installed it from deb package. 

I think this was the moment when the dropdown list was extended with the "Google Chrome" value, but I did not checked at that time.

Later (today), I just started to play with the settings and I found this option.

Yes, I am using Gmail in the browser.
Comment 4 Nicolas Fella 2022-02-18 13:52:22 UTC
When opening Gmail it offered me to install a service handler for mailto links, which added the entry to the settings. That is actually a good feature, it would be even better if it called itsefl Gmail instead of Google Chrome. In any case, Plasma is behaving as expected as far as I can tell and the error you see is https://bugs.kde.org/show_bug.cgi?id=440062

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