[konsole] [Bug 402452] Crash in Konsole::TerminalDisplay::extendSelection after 4e09f089f940335bdd628139e870ba99721fddfa

Martin Sandsmark bugzilla_noreply at kde.org
Sat Dec 22 10:37:50 GMT 2018


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

--- Comment #1 from Martin Sandsmark <martin.sandsmark at kde.org> ---
this is a minimal diff that fixes it, but someone who's familiar with this code
should verify that everything that calls getCharacterPosition() is correct.

diff --git src/TerminalDisplay.cpp src/TerminalDisplay.cpp
index 5b437937..a2d5ad17 100644
--- src/TerminalDisplay.cpp
+++ src/TerminalDisplay.cpp
@@ -2528,7 +2528,7 @@ void TerminalDisplay::extendSelection(const QPoint&
position)
int charColumn = 0;
int charLine = 0;
-    getCharacterPosition(pos, charLine, charColumn, true);
+    getCharacterPosition(pos, charLine, charColumn, false);
QPoint here = QPoint(charColumn, charLine);
QPoint ohere;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list