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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.4
    • GUI: Text handling
    • None
    • 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

            esabraha Eskil Abrahamsen Blomfeldt
            dmitryakul Dmitry Akulich
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes