Bug 423450

Summary: Email links fail when clicked
Product: [I don't know] kde Reporter: David <david.cortes.rivera>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description David 2020-06-24 15:01:39 UTC
SUMMARY
If I set some default email application, when I click an email link (e.g. mailto:someone@somewhere.com) in some browser that supports them and that redirects it to the system's email client (e.g. chrome and chromium-based browsers such as Vivaldi, but not Firefox which uses its own system), I get the following error:

org.kde.pim.kmime: stringToMailbox: Invalid address
org.kde.kitinerary: Cannot find external extractor: "kitinerary-extractor"
Release of profile requested but WebEnginePage still not deleted. Expect troubles !

And nothing happens after having clicked the link.

STEPS TO REPRODUCE
1. Set a default email client (System Settings -> Personalization -> Applications -> Default applications -> Email Client).
2. Launch some chromium-based browser.
3. Click on some mailto link in the browser (e.g. from this same page or some random page within this bugtracker, such as this one: https://bugs.kde.org/describecomponents.cgi?product=AVKode - the default asignee is a mailto link)

OBSERVED RESULT
Should launch the default email client with a new email message window opened.

EXPECTED RESULT
Does nothing, other than throwing the error mentioned at the beginning when the browser is launched from a terminal.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.70
Qt Version: 5.12.5

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-06-25 19:12:48 UTC
Does this happen with all email applications set as the default one, or only KMail?
Comment 2 David 2020-06-25 19:26:32 UTC
(In reply to Nate Graham from comment #1)
> Does this happen with all email applications set as the default one, or only
> KMail?

That error message shows up if I set the email client to Evolution. With KMail it doesn't show any error message, but doesn't do anything either (i.e. clicking an email link doesn't launch kmail, and if it's launched, doesn't trigger a "write new message" window). I don't have any other email clients installed so cannot tell what would happen with others.
Comment 3 Nate Graham 2020-06-25 19:42:50 UTC
Ok, thanks. This was fixed in a later version, then. The default KMail option was buggy and removed and replaced with a normal combobox of options which works properly. This was in Plasma 5.18 IIRC.

Debian should really ship newer stuff in testing. We're on Plasma 5.19 already.
Comment 4 David 2020-06-25 21:21:03 UTC
(In reply to Nate Graham from comment #3)
> Ok, thanks. This was fixed in a later version, then. The default KMail
> option was buggy and removed and replaced with a normal combobox of options
> which works properly. This was in Plasma 5.18 IIRC.
> 
> Debian should really ship newer stuff in testing. We're on Plasma 5.19
> already.

But it also fails for Evolution.