Bug 197745 - Editor: inserting text across dynamic linebreak leads to cursor "jump"
Summary: Editor: inserting text across dynamic linebreak leads to cursor "jump"
Status: RESOLVED DUPLICATE of bug 168534
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 17:13 UTC by Andreas K. Huettel
Modified: 2009-10-05 00:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot 1: before inserting text (140.95 KB, image/png)
2009-06-24 17:14 UTC, Andreas K. Huettel
Details
screenshot 2: after inserting text (142.10 KB, image/png)
2009-06-24 17:15 UTC, Andreas K. Huettel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Huettel 2009-06-24 17:13:49 UTC
Version:           2.1 beta 1 (using KDE 4.2.4)
Compiler:          gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2, x86_64 
OS:                Linux
Installed from:    Gentoo Packages

See the two attached screenshots for "before" and "after": On screenshot 1, the cursor is between "anderen Seite" and "der Linse". I start typing the letters abcdefghijklmn... without any other interaction. 

First the word "Linse" is correctly pushed into the next column.

As soon as the word "der" is pushed into the next column, the cursor jumps behind this word, and subsequent letters are inserted behind it.

Reproducibility: easily, whenever the cursor is before the second last word in a line...
Comment 1 Andreas K. Huettel 2009-06-24 17:14:40 UTC
Created attachment 34787 [details]
screenshot 1: before inserting text
Comment 2 Andreas K. Huettel 2009-06-24 17:15:18 UTC
Created attachment 34788 [details]
screenshot 2: after inserting text
Comment 3 Andreas K. Huettel 2009-06-24 17:19:27 UTC
err... of course I meant "next line" instead of "next column"... sorry, too tired... ~:]
Comment 4 Thomas Braun 2009-06-24 18:46:28 UTC
Do you have some word wrapping turned on?
It looks like.
Comment 5 Andreas K. Huettel 2009-06-24 19:00:16 UTC
Yes, correct. 

Configure -> Editing -> General: 
 x Enable static word wrap
 x Show static word wrap marker ...
 Wrap words at 90 chars

Configure -> Appearance:
 x Dynamic word wrap
 Dynamic word wrap indicators "Follow Line Numbers" (no idea what that does)
 Align dynamically wrapped lines to indent...  "80% of View Width" (dito)
Comment 6 Thomas Braun 2009-06-24 19:07:48 UTC
Well then it may take some time to get this fixed.
This is a katepart, the editor behind kile, bug and unfortunately we got lots of bugs concerning word wrapping.
Comment 7 Andreas K. Huettel 2009-06-24 19:15:42 UTC
(In reply to comment #6)
> Well then it may take some time to get this fixed.
> This is a katepart, the editor behind kile, bug and unfortunately we got lots
> of bugs concerning word wrapping.

Understood. I can confirm this. The same bug also shows up in kwrite (4.2.4) if I apply the same word wrap settings there. 

Is there anyone we should cc, or are they already completely swamped with similar reports?

Best, Andreas
Comment 8 Andreas K. Huettel 2009-06-24 19:24:43 UTC
I dont fully understand the other bug report yet, but this may be a duplicate of bug #168534 - what do you think?
Comment 9 Thomas Braun 2009-06-24 21:35:28 UTC
I'm also not sure if it is a duplicate of #168534.

Reassigning to katepart is in any case appropriate.

Summary of the bug:
As soon as the word "der" is pushed into the next line, the cursor jumps
behind this word, and subsequent letters are inserted behind it.

Reproducibility: easily, whenever the cursor is before the second last word in
a line...
Comment 10 Pascal Létourneau 2009-10-05 00:00:05 UTC

*** This bug has been marked as a duplicate of bug 168534 ***