Bug 379901

Summary: Default Email Application is ignored when using mailto: url scheme
Product: [Applications] systemsettings Reporter: Pit <P.Suetterlin>
Component: kcm_componentchooserAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, alleballe319, kde, m.wege, nate
Priority: NOR    
Version: 5.9.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pit 2017-05-16 13:35:56 UTC
I have changed my default application for Emails to use mutt.  'Run in terminal' is checked.  Still, all email links (also from command line via kde-open5) are opened using kmail, ignoring my change.

Other changes of default applications (File manager, web browser) do work.

My system is openSUSE Tumbleweed
Comment 1 Carlokke 2018-04-03 18:45:03 UTC
Somewhat similar maybe:
=========================

I'm running an up to date Arch Linux 64bit, KDE Plasma 5.12.4, KDE Frameworks 4.44.0, Qt 5.10.1 and kernel 4.15.14-1.

I wish to have Thunderbird as my default email application. 
But when in Systems Settings->Personalization/Applications/Default Applications clicking the "..." button and then finding and choosing Thunderbird only results in a blank empty space where "Thunderbird ...." should be. 

What gives?
Comment 2 Carlokke 2018-04-03 18:46:24 UTC
(In reply to Carlokke from comment #1)
> Somewhat similar maybe:
> =========================
> 
> I'm running an up to date Arch Linux 64bit, KDE Plasma 5.12.4, KDE
> Frameworks 4.44.0, Qt 5.10.1 and kernel 4.15.14-1.
> 
> I wish to have Thunderbird as my default email application. 
> But when in Systems Settings->Personalization/Applications/Default
> Applications clicking the "..." button and then finding and choosing
> Thunderbird only results in a blank empty space where "Thunderbird ...."
> should be. 
> 
> What gives?

Sorry, I meant KDE Frameworks 5.44.0 naturally!
Comment 3 Patrick Silva 2018-09-14 18:57:19 UTC
*** Bug 398246 has been marked as a duplicate of this bug. ***
Comment 4 Kai Uwe Broulik 2018-09-24 15:28:36 UTC
Can you check Can you check the output of: xdg-mime query default x-scheme-handler/mailto
Comment 5 Aleix Pol 2018-09-24 15:31:01 UTC
I just changed it to kate (just to try) and it didn't change. I'd say the whole URI scheme part is not tied to the default applications logic.
Comment 6 Kai Uwe Broulik 2018-09-24 15:35:04 UTC
It is. Please provide your ~/.config/mimeapps.list
I can confirm that changing the setting doesn't work here, it writes into [Default Applications] but Thunderbird set itself to [Added Associations]
Comment 7 Aleix Pol 2018-09-24 15:36:46 UTC
I don't see anything changing there:

---

[Added Associations]
application/x-designer=designer-2.desktop;designer.desktop;
video/x-matroska=vlc.desktop;mplayer.desktop;org.kde.dragonplayer.desktop;
text/plain=org.kde.kate.desktop;

[Default Applications]
application/x-designer=designer-2.desktop;
video/x-matroska=vlc.desktop;
x-scheme-handler/tg=telegramdesktop.desktop
Comment 8 Pit 2018-09-24 15:40:14 UTC
woodstock:~% xdg-mime query default x-scheme-handler/mailto
org.kde.kmail2.desktop

As mentioned in post#1, Settings->Default Applications->Email Client is
'mutt %u' with 'Run in terminal' checked.
Plasma 5.13.5 / plasma-framework 5.49.0  (Tumbleweed 20180916)
Comment 9 Carlokke 2018-09-24 18:30:10 UTC
Well it's all working now - for me at least - while using:
Qt: 5.11.2
KDE Frameworks: 5.50.0
Plasma 5.13.5, 
kernel 4.18.9
Comment 10 Nate Graham 2018-11-26 05:45:05 UTC

*** This bug has been marked as a duplicate of bug 360073 ***
Comment 11 Nate Graham 2018-11-27 00:36:22 UTC

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