Created attachment 126563 [details] System preferences application screenshot When I click on an email address I want my default browser to open with GMail. For this I have defined as default application "kioclient5 exec https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=%t&su=%s&body=%u" in system preferences application. But when I press on an email address in a KDE application, it shows the error: "Could not find any application or handler for mailto:...". I attach 2 screenshots with error. When I execute in konsole "kioclient5 exec https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=%t&su=%s&body=%u" works well. Operating System: Arch Linux KDE Plasma Version: 5.18.2 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1 Kernel Version: 5.5.7-zen1-1-zen OS Type: 64-bit Processors: 8 × Intel® Core™ i7-7700 CPU @ 3.60GHz Memory: 15,5 GiB
Created attachment 126564 [details] screenshot error
Created attachment 126565 [details] screenshot error
Seeing the same thing. Running "xdg-open mailto:foo" shows the Thunderbird (my mail client) bouncing cursor but then shows the "unknown protocol 'mailto'" error.
This was also reported downstream: https://bugzilla.opensuse.org/show_bug.cgi?id=1178596 My first guess is that this broke after https://invent.kde.org/plasma/plasma-desktop/commit/d1f62c16c878a665c6e548f7a99b6fab21882e6d. Initially I thought that xdg-utils needed adjustment to handle the switch to a .desktop file path in ~/.config/emaildefaults, but then I noticed that kde-open5 mailto: is broken with this error.
I can reproduce the issue by using something like "/usr/bin/echo foo" without adding "%u" in the exec string. Then KIO::DesktopExecParser::resultingArguments() helpfully appends "%f" as fallback, but for URLs that invokes KIOFuse or kioexec, which obviously doesn't work for mailto:. However, using the data from the initial post works here, so I'm wondering whether that particular case got fixed meanwhile. Does the issue still happen? If so, what's the output of "ktraderclient5 --mimetype x-scheme-handler/mailto"?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!
I have similar issue. When opening mailto link from browser or try to share>send via mail from KDE application (tried Dolphin, Okular, Gwenview so far), pop up with error message appears: "Unable to create io-slave. klaucncher said: Unknown protocol 'mailto'." Operating System: openSUSE Tumbleweed 20210505 KDE Plasma Version: 5.21.4 KDE Frameworks Version: 5.81.0 Qt Version: 5.15.2 Kernel Version: 5.12.0-2-default OS Type: 64-bit Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-7300U CPU @ 2.60GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 620 Default mail client: Mailspring Might be somehow related to https://bugs.kde.org/show_bug.cgi?id=424383 (or not) "ktraderclient5 --mimetype x-scheme-handler/mailto" says ``` mimetype is : x-scheme-handler/mailto got 2 offers. ---- Offer 0 ---- Invalid property Actions StartupNotify : 'TRUE' StartupWMClass : 'Mailspring' Invalid property UntranslatedGenericName X-DBUS-ServiceName : '' X-KDE-SubstituteUID : 'FALSE' X-KDE-Username : '' Type : 'Application' Name : 'Mailspring' Comment : 'The best email app for people and teams at work' GenericName : 'Mail Client' Icon : 'mailspring' Exec : 'mailspring %U' Terminal : 'FALSE' TerminalOptions : '' Path : '' ServiceTypes : 'Application' AllowAsDefault : 'TRUE' InitialPreference : '1' Invalid property Library DesktopEntryPath : '/home/ruza/.local/share/applications/Mailspring.desktop' DesktopEntryName : 'mailspring' Keywords : 'email - internet' FormFactors : '' Categories : 'GNOME - GTK - Network - Email' ---- Offer 1 ---- StartupWMClass : 'crx_faolnafnngnfdaknnbpnkhgohbobgegn' Type : 'Application' Name : 'Outlook' Invalid property Comment Invalid property GenericName Icon : 'chrome-faolnafnngnfdaknnbpnkhgohbobgegn-Default' Exec : '/usr/lib64/chromium/chromium --profile-directory=Default --app-id=faolnafnngnfdaknnbpnkhgohbobgegn' Terminal : 'FALSE' Invalid property TerminalOptions Invalid property Path ServiceTypes : 'Application' AllowAsDefault : 'TRUE' InitialPreference : '1' Invalid property Library DesktopEntryPath : '/home/ruza/.local/share/applications/chrome-faolnafnngnfdaknnbpnkhgohbobgegn-Default.desktop' DesktopEntryName : 'chrome-faolnafnngnfdaknnbpnkhgohbobgegn-default' Keywords : '' FormFactors : '' Categories : '' ```
Created attachment 138213 [details] error message
Just installed Thunderbird to check - it works as stated here https://bugzilla.opensuse.org/show_bug.cgi?id=1178596 comment 11