Bug 357820

Summary: kmail pegs the cpu when started from Firefox
Product: [Applications] kmail2 Reporter: mgolden
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: herzenschein
Priority: NOR    
Version: 5.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mgolden 2016-01-10 22:32:54 UTC
As is the default in Kubuntu, I have kmail configured as the application for mailto links.  When I click on such a link, it does open kmail, and kmail seems to function normally, but the CPU is pegged.  When I do a ps, I can determine that the command line is

/usr/bin/kmail -qwindowtitle  mailto:the.persons@emailaddress.com

However if I type the same command line at the shell, it starts (sending a bunch of messages to the screen) and then behaves normally with no excessive CPU use.

I should point out that I am running Kubuntu 15.10, and this is kmail2 version 5.0.2, which is not a choice in the dropdown above.


Reproducible: Always

Steps to Reproduce:
1. Open Firefox
2. Click a mailto link
3. Open a shell, type "top"

Actual Results:  
100% CPU use (on one core, presumably)

Expected Results:  
Not a lot of CPU use.
Comment 1 Thiago Sueto 2020-12-14 23:51:27 UTC
This doesn't seem reproducible on current Plasma from master. The max it reaches over here is 8%.
The command seems to have changed a bit:
/usr/bin/kmail -qwindowtitle KMail mailto:the.persons@emailaddress.com

If this is still reproducible for you, please reopen this bug report.