Discussion:
[Bug 49014] New: dynamic word wrap and mouse scrolling cursor off screen hang kate
Moritz Moeller-Herrmann
2002-10-11 08:40:45 UTC
Permalink
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

http://bugs.kde.org/show_bug.cgi?id=49014
Summary: dynamic word wrap and mouse scrolling cursor off screen
hang kate
Product: kate
Version: 2.1
Platform: SuSE RPMs
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kde-***@kde.org
ReportedBy: ***@gmx.net


Version: 2.1 (using KDE 3.0.8 (KDE 3.1 beta2))
Installed from: SuSE
Compiler: gcc version 2.95.3 20010315 (SuSE)
OS: Linux (i686) release 2.4.19

100% reproducible in KDE-3.1b2 from SuSE-8.0:

Start a long text with long lines.
Activate Dynamic Word Wrap in the View Menu.
Scroll by mouse wheel until the cursor is off the screen.
Move the (invisible) cursor with the arrow keys up or down.

Immediately kate hangs (completely: no SIGTERM reaction) and takes 100% CPU. The index for the lines seems to be off, as kate spits out the following endlessly:
QGArray::at: Absolute index -1323308 out of range
QGArray::at: Absolute index -1323336 out of range
QGArray::at: Absolute index -1323364 out of range
QGArray::at: Absolute index -1323392 out of range
QGArray::at: Absolute index -1323420 out of range
QGArray::at: Absolute index -1323448 out of range
QGArray::at: Absolute index -1323476 out of range
QGArray::at: Absolute index -1323504 out of range
...

Either the cursor should follow the mouse or the hang has to be fixed.
Loading...