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

Button remains pressed if the DragHandler is under it

XMLWordPrintable

    • All
    • 42e403a51da3539cc5062fde13884678dba55b5a (qt/qtdeclarative/5.12)

      With the example code:

          Item {
              anchors.fill: parent
      
              DragHandler {}
      
              Button {
                  anchors.centerIn: parent
                  text: "Test %1".arg(pressed)
              }
          }
      

      Press the button and then drag with the mouse out of the button area and release the mouse. Button remains pressed.

      Interestingly, the problem only occurs with the mouse. On the touch screen the button works correctly.

       

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            permotion88 Karol Polak
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes