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

Selection handles toolbar could not be closed in TextField or TextInput

    XMLWordPrintable

Details

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

    Description

      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
          }
      }
       

       

       

      Attachments

        Issue Links

          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
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes