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

Text input caret should not blink when characters are selected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Qt v6.2.2
      Qt Creator v6.0.1
      Windows 10 v21H1
    • Platform/s:
      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

        1. HTTPExample.gif
          13 kB
          Damian Lettie
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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