Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77243

TextEdit (RichText) with RTL text: cursor UP malfunctioned after <br> inserted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.4
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      please, see main.qml attached.

      1. RTL text is inserted into TextEdit (with RichText format)
      2. Cursor is shifted in the middle of the text.
      3. "<br>" tag is inserted
      4. UP arrow is pressed on keyboard

      Expected result: cursor must go on the upper line

      Actual result: cursor stays on the bottom line

      Note: for LTR text all works as expected.

      Note2: cursor moving with < or > works good, and after they are pressed - moving UP also works. But right after <br> inserted - it doesn't work.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              dmitryakul Dmitry Akulich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes