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

Many texts are bidi now (show cursor with flag in edit mode)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.2
    • 5.11.1
    • GUI: Text handling
    • None
    • Android, Linux/X11, macOS, Windows

    Description

      since 

      -QTBUG-57743-

      http://code.qt.io/cgit/qt/qtbase.git/commit/src/gui/text/qtextengine.cpp?h=dev&id=7f504283ef44c35dfca7198a80742063a940fabd

       

      many texts are bidi now

      this line identify every string as bidi when it has unicode character >= 0x590

      http://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/text/qtextengine.cpp?h=dev#n1047

      so when I wrote something in japan => it is bidi text now

      As consequence text cursor is flag instead of pure line

       

      How to reproduce:

      Just type in japan in qt creator(4.7.0)

      there is small flag next to the cursor

      or

      Simple example app with QTextEdit 

      When you enter Shift+Enter new line in QTextEdit

      or when you change keyboard to japan and when you write something in japan

      cursor has flag now

       

      I didn't test other OSs but it should be same everywhere.

      Attachments

        Issue Links

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

          Activity

            People

              laknoll Lars Knoll
              miskol MICHAL LAZO
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes