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

QML TextField can't deselect by clicking on the text field

XMLWordPrintable

    • Android
    • e434796c6 (dev), e87e78611 (6.8), 639003b31 (6.7), f19342d4c (tqtc/lts-6.5)
    • 2024wk32s2FOQtforAndroid, 2024wk36s2FOQtforAndroid

      1. Launch the code below.
      2. Type "hello" in the text field.
      3. Long-press the text so that it is all selected.
      4. Now click again in the text field.

      Note that the clicking on the text field was supposed to deselect the text, but it is still selected.

      import QtQuick
      import QtQuick.Controls
      
      Window {
          id: window
          visible: true
          width: 640
          height: 480
          title: "QtQuickApplication1"
      
          TextField {
              anchors.margins: 6
          }
      } 

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

            srutledg Shawn Rutledge
            felipef Felipe Goron Farinon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes