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

Selection handles toolbar could not be closed in TextField or TextInput

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.6.1, 6.7.0 Beta1
    • None
    • Android
    • 2024wk12FOQtforAndroid, 2024wk14FOQtforAndroid, 2024wk16FOQtforAndroid

      MacOS 14.2.1

      Qt Creator 12.0.1

      Qt 6.7.0-beta1

      Device: Samsung Galaxy S22 13.0, Pixel 3a 12.0

      Steps to reproduce:

      1. Run the attached sample code on the Android device
      2. Long press on the text to open the selection handles toolbar
      3. When it appears try to close it by tapping outside of the toolbar.

      Expected: The toolbar should disappear when the user taps outside of it.

      Actual: The toolbar does not disappear and it's difficult to close it. It does not happen with TextArea.

      Reproducibility:  100% 

      Code: 

       

      import QtQuick
      import QtQuick.ControlsWindow {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")    
      TextInput {
              id: textInput
              focus: true
              text: "TextInput"
          }
      TextField {
              text: "TextField"
              id: textField
              anchors.top: textInput.bottom
              anchors.topMargin: 10
          }
      TextArea {
              text: "TextArea"
              anchors.top: textField.bottom
              anchors.topMargin: 10
          }
      }
       

       

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes