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

Text input caret should not blink when characters are selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.2
    • None
    • Qt v6.2.2
      Qt Creator v6.0.1
      Windows 10 v21H1
    • Windows

    Description

      Steps to reproduce the problem:

      1. Build and run the "HTTP Example" project.
      2. Click in the URL field to position the caret somewhere in the middle of the URL.
      3. Hold Shift while pressing the right arrow key a couple of times to select a couple of characters.
      4. The caret is still blinking at the right edge of the selection.

      In native controls, such as in first-party apps from Microsoft, the caret does not blink when characters are selected. e.g., The file name field in file browse dialogs, the "Find what" field in Notepad's Edit > Find dialog, etc..

      I assume the desired behaviour in Qt is to match the native control behaviour.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            lidl Damian Lettie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes