Bug 286453 - cursor not displayed at end of indented line with dynamic word wrap
Summary: cursor not displayed at end of indented line with dynamic word wrap
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-11-12 23:12 UTC by Lukas Middendorf
Modified: 2018-10-27 04:15 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example of such a line (196 bytes, text/plain)
2011-12-16 07:49 UTC, Silver Salonen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Middendorf 2011-11-12 23:12:55 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

There is a problem with dynamic word wrap on indented lines. The cursor is not displayed properly at the end of wrapped lines following the initial one.

Reproducible: Always

Steps to Reproduce:
0. use any kde editor (kate, kwrite, kile)
1. Enable dynamic word wrap
2. write a long indented line of text that has to be wrapped at least twice
3. try to place the cursor within the last few characters from the right window border on the second (or any following) of the wrapped lines

Actual Results:  
The cursor is not displayed at the correct location when placed within N places from the right window border. N is the number of spaces (or the display width of the tabs) used to indent. The cursor is displayed N places away from right window border. It is only a display problem, the place where changes to the text happens is where it should be.

Expected Results:  
The cursor should be displayed properly anywhere in the text.

I'm seeing this on Fedora 16 with KDE 4.7.2 and 4.7.3. Was not present on F15 with KDE 4.6.
Comment 1 Silver Salonen 2011-12-16 07:49:42 UTC
Created attachment 66796 [details]
Example of such a line

Open the file Kate and try clicking somewhere past "target="
Comment 2 Geert Lamers 2012-01-24 11:16:17 UTC
I've noticed the same issue in Kate 3.7.97/KDE 4.7.97 (KDE 4.8 RC2). 

However the line doesn't have to be wrapped twice. When the part of the line after the wrap is long enough to get near the end of the window, the cursor still sticks N positions from the edge.
Comment 3 delcypher 2012-06-07 16:56:16 UTC
I can confirm this is still an issue KDE 4.8.3 / Kile 2.1.2 on Arch Linux.
Comment 4 Geert Lamers 2012-06-07 17:50:54 UTC
Still present in 4.8.80
Comment 5 Mikaël Cordon 2012-06-15 10:24:26 UTC
I can confirm the issue in KDE 4.8.3 / Kate 3.8.3 on Debian Wheezy.

(In reply to comment #3)
> I can confirm this is still an issue KDE 4.8.3 / Kile 2.1.2 on Arch Linux.
Comment 6 C Vaida 2012-07-03 10:16:34 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Henning Rogge 2012-07-07 09:02:52 UTC
I can confirm the issue in KDE 4.8.4 / Kate 3.8.4 on Kubuntu 12.04.

I can also confirm this issue on a self-compiled Kate (http://kate-editor.org/get-it/) at commit 10e2508786d0d4340cfb6b9a98af3aea9445910e.
Comment 8 Christoph Cullmann 2012-11-10 19:44:59 UTC
Works for me with kate.git master, could somebody try that version?
We fixed some of that issues during the sprint.
Comment 9 Henning Rogge 2012-11-10 19:49:05 UTC
Bug is RESOLVED in Kate KDE 4.9.2 (Kubuntu 12.10).
Comment 10 Andrew Crouthamel 2018-09-23 02:38:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Andrew Crouthamel 2018-10-27 04:15:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!