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

QML TextInput - Incorrect behavior when all text is selected and ctrl+backspace is pressed

XMLWordPrintable

    • f680527e6 (dev), ecefbb877 (6.10), 2e1b5982f (6.9)

      If all text in a TextInput is selected and ctrl+backspace is pressed, the selection is cleared but no text is removed.

      Steps to reproduce (tested on Windows 10):

      1. Create a new project with the Qt Quick Application - Empty template
      2. Add a TextInput with anchors.fill: parent
      3. Run the project
      4. Type some text into the textbox
      5. Select all the text with ctrl+a
      6. Press ctrl+backspace

      Expected behavior:
      The selected text is removed.

      Actual behavior:
      The cursor jumps to the beginning of the TextInput and the text is deselected, but no text is removed.

        For Gerrit Dashboard: QTBUG-81803
        # Subject Branch Project Status CR V

            dheerendra Dheerendra Purohit
            secondflight Joshua Wade
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes