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

            Bug ID: 367722
           Summary: Caret shows in wrong location (one letter off) in
                    Right-to-Left paragraphs when using dynamic word wrap
           Product: kate
           Version: 16.04
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: msaie...@gmail.com

Caret appears in wrong location when using dynamic word wrap with Arabic text.
The bug only appears in paragraphs that start with RTL text and thus have a
Right-to-Left direction.


Reproducible: Always

Steps to Reproduce:
1. create a new document.
2. enable dynamic word wrap.
3. type/paste some text has has RTL direction (it needs to be long enough to
wrap, or you can make the editor window smaller to force text to wrap).

Actual Results:  
You will see that the caret position is actually one letter off its correct
position, selecting a single letter or a few words will show it clearly.

Expected Results:  
Caret should appear in its exact position.

The problem does not appear on the last line of a paragraph.
Paragraphs that start with English letters (paragraphs with Left-to-Right
direction) do not have that problem even if they contain Arabic words or other
UTF characters.

Kate version: 16.04.3 (also in KWrite 16.04.3)
OS: Manjaro 16.06.1 (x86_64)

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

Reply via email to