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

Button remains pressed if the DragHandler is under it

    XMLWordPrintable

Details

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

    Description

      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.

       

       

      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
              permotion88 Karol Polak
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes