[Bug 287856] Kmail crash changing email account
Émeric Dupont
emeric.dupont at agol.org
Mon Apr 2 14:27:17 BST 2012
https://bugs.kde.org/show_bug.cgi?id=287856
Émeric Dupont <emeric.dupont at agol.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emeric.dupont at agol.org
--- Comment #35 from Émeric Dupont <emeric.dupont at agol.org> ---
I am exposed to the same issue, when switching from an identity with a
signature to an identity without.
Commenting out the setTextCursor line solves the issue for me.
--- kmeditor.cpp.4.8.1 2012-04-02 15:11:52.216043987 +0200
+++ kmeditor.cpp 2012-04-02 15:12:48.926043685 +0200
@@ -705,7 +705,7 @@
// Remove the old and insert the new signature
cursor.removeSelectedText();
- setTextCursor( cursor );
+ //setTextCursor( cursor );
newSig.insertIntoTextEdit( KPIMIdentities::Signature::AtCursor,
KPIMIdentities::Signature::AddNothing, this );
found = true;
However, this has surely side-effects. But at least I don't have those crashes
anymore.
PS: Adding a CR at the end of the signature of the first identity also resolves
the issue. Thanks to those pointing that out. Could that look like an out of
range cursor ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list