Summary: | Sometimes crashes when modifying text [QTextLine::cursorToX] | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-ktexteditor | Reporter: | Kevin Funk <kfunk> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugreports.qt-project.org/browse/QTBUG-40753 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kevin Funk
2014-08-28 12:57:02 UTC
Upstream fix: https://codereview.qt-project.org/#/c/93435/ Good catch! You think we need a workaround in Kate's code, too? *** Bug 339255 has been marked as a duplicate of this bug. *** Kevin, can you confirm the Qt5 fix is in Qt 5.3? As I understand, we don't need a fix in Kate Part then and this issue is resolved? Yep. Fix is in 5.3 branch, will be part of v5.3.3. Commit in qtbase.git: commit eb447679456336d387bb69a56c164b06fbe83166 Author: Kevin Funk <kfunk@kde.org> Date: Thu Aug 28 15:46:03 2014 +0200 Fix crash in QTextLayout::cursorToX When 'cursorPos' is out of bounds ([0, lineEnd]), this method crashed. Change-Id: Ia0540ab3afbffb5c598f7b8515263cce3b3928e4 Task-number: QTBUG-40753 Reviewed-by: Dominik Haumann <dhaumann@kde.org> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> |