Summary: | [PATCH] KDevelop and Kate editor freeze in block select mode when you try to select words outside from text with SHIFT+CTRL+CURSOR_LEFT | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | meah |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde.h8bcay |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.2 | |
Sentry Crash Report: | |||
Attachments: | Proposed fix |
Description
meah
2011-11-17 23:00:35 UTC
This problem also happens under a native KDE desktop This problem doesn't exist on KDE version 4.6.5 (Fedora 14 - gnome2) Created attachment 69730 [details]
Proposed fix
This is caused by the wrappingcursor - when going left beyond the end of the line, previousCursorPosition is called on the layout, but that does not return a changed column value. There code to prevent just this case in BoundedCursor::operator+=, but not in WrappingCursor::operator+=.
Git commit b039dac66327891665e93402b7b7ac4a1b71268a by Dominik Haumann. Committed on 22/03/2012 at 22:08. Pushed by dhaumann into branch 'master'. fix crash on ctrl+shift+left / delete word left part/tests/bug286887.* contains a unit test for this. M +4 -1 part/view/kateviewinternal.cpp http://commits.kde.org/kate/b039dac66327891665e93402b7b7ac4a1b71268a Git commit 492a1ed70be8adf101b3eb4ea1f405cb8de8331d by Dominik Haumann. Committed on 22/03/2012 at 22:08. Pushed by dhaumann into branch 'KDE/4.8'. fix crash on ctrl+shift+left / delete word left part/tests/bug286887.* contains a unit test for this. M +4 -1 part/view/kateviewinternal.cpp http://commits.kde.org/kate/492a1ed70be8adf101b3eb4ea1f405cb8de8331d *** Bug 296986 has been marked as a duplicate of this bug. *** |