Kmail freezes the whole plasma system if all following requirements are met at the same time:
1. activated spell checking before send
2. ctrl + return used to send the email
3. email contains spelling mistakes
If I click the "send" button everything will work
If I disable the "spell check before send" (don't know the correct translation) everything will work
If I don't have spelling mistakes everything will work
(Which is a description of: all the following requirements...)
It seems to be related to the spell checking mechanism since kmail freezes after I close the spell check window.
Manual spell checking works (same as "spell check before send" when clicking the button)
Removing the kmail2rc doesnt change anything.
Are there any logs? Journalctl doens't seem to contain relevant information.
Forgot the version information (Arch package):
kmail - help - version (freely translated):
KDE Frameworks 5.15.0
Qt 5.5.0, compiled against 5.5.0)
The xcbWindow system
I think I have a similar issue, I have checked "confirm before send" and am enforcing a spell check, too via "Check spelling before sending".
I have created a small video showing the state of affairs: https://www.youtube.com/watch?v=Bg_JF5FLhac
Kmail Version 5.0.2
KDE Frameworks 5.15.0
Qt 5.4.2 (built against 5.4.2)
The xcb windowing system
$ apt-cache policy kmail
$ cat /etc/*release
VERSION="15.10 (Wily Werewolf)"
I'm having the same problem using kontact5-16.04.2. The problem apparently is that window focus is on the spell-checker window, while the "send email" dialog box appears above it with keyboard focus. I once managed to click the send button by keeping it pressed for a long time, but in general the session is frozen during this issue, Xorg and kwin consume lots of CPU time, and the input during the time the session is frozen is replayed after it is resumed.
I confirm this bug is happening on KMail 5.3.3(KDE Frameworks 5.27.0, Qt 5.7.0, window system xcb), to reproduce this bug you need to activate the options "Check spelling before sending" and "confirm before send" as Stephan Diestelhorst said in .
Git commit c223fb2edeaa374b2f7de6ab1c962e1817900f6b by Montel Laurent.
Committed on 17/11/2016 at 21:51.
Pushed by mlaurent into branch 'Applications/16.12'.
Fix Bug 354055 - system freeze when trying to send email via ctrl + return with "spellcheck before send" activated
M +6 -1 src/editor/kmcomposerwin.cpp
M +1 -0 src/editor/kmcomposerwin.h