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

--- Comment #8 from Igor Kushnir <igor...@gmail.com> ---
Looks like the two "// get visible selected lines" loops in
KateViewInternal::doDrag() do not work as intended before the crash: they make
endLine < startLine. Added one more qCritical() line to debug this further:
        auto rc = toRealCursor(startCur);
        qCritical() << startCur << endCur << rc << endLine << cache();
        qCritical() << this->startLine() << this->endLine() << w << h <<
m_view->width() << m_view->height() << scale;
        sX = renderer()->cursorToX(cache()->textLayout(rc), rc,
!view()->wrapCursor());

journalctl --user --since today | tail -n 4
Apr 13 11:19:48 Igor-Manjaro kdevelop[278245]: 1062 1064
Apr 13 11:19:48 Igor-Manjaro kdevelop[278245]: 1063 1064
Apr 13 11:19:48 Igor-Manjaro kdevelop[278245]: (1058, 52) (1058, 90) (1194, 52)
1057 KateLayoutCache(0x5603f71080d0)
Apr 13 11:19:48 Igor-Manjaro kdevelop[278245]: 917 927 0 0 1656 287 1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to