Bug 364707 - Wrong cursor positioning in multiline RTL/bidi text (word-wrap on)
Summary: Wrong cursor positioning in multiline RTL/bidi text (word-wrap on)
Status: RESOLVED DUPLICATE of bug 367722
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.23.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-24 13:11 UTC by Safa Alfulaij
Modified: 2016-08-31 20:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Safa Alfulaij 2016-06-24 13:11:34 UTC
If the RTL text continued to the next visual line, the positioning of the cursor is offset to the left, and that's only if the visual line is not the last line. The amount depend on the font somehow.

Visual line: each segment of the breaked line when word-wrap is on.

Text used:
"""
خشب
خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب خشب 
"""

Screenshots showing the problem in the first and second line segments of the word-wraped line:  http://imgur.com/a/RwpNu (First one-word line and last segment are right)

Reproducible: Always
Comment 1 Safa Alfulaij 2016-08-28 07:46:06 UTC
A later bug has better explanation: https://bugs.kde.org/show_bug.cgi?id=367722
Comment 2 Safa Alfulaij 2016-08-31 20:10:49 UTC

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