https://bugs.kde.org/show_bug.cgi?id=287856

Émeric Dupont <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #35 from Émeric Dupont <[email protected]> ---
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.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to