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

Qt Text Widgets - Changing text cursor position with mouse does not set cursor visible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.11.1, 5.12.0 Alpha
    • GUI: Text handling
    • None
    • Windows 10, Qt 5.12 alpha and 5.11.1, msvc2017_64
    • Windows

    Description

      When left clicking in a text field to move the text cursor, the cursor is not immediately made visible. If it was hidden due to its blinking pattern at the time of the mouse click, the text cursor will not be drawn at the new position until the blink timer toggles the cursor visible again.

      The occasional delayed drawing of the text cursor makes the text fields feel unresponsive and different from native text fields.

      This behavior can be seen in QLineEdit and QPlainTextEdit widgets and also in the Qt Creator code editor itself.

      This issue might be related to a similar issue mentioned in https://bugreports.qt.io/browse/QTBUG-16627

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            sonoxious Simon Börjesson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes