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

DragHandler and DropArea interaction might cause a stuck mousegrab

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7
    • None
    • Linux/Wayland

    Description

      This seems an issue happening only on Wayland.

      If a drag is initiated by a draghandler positioned over a DropArea, after the mouse button release, regardless if the drop even has been accepted or not, the DragHandler keeps the mouse grab and the subsequent click anywhere on the scene will not have any effect besides releasing the grab. subsequent clicks will work correctly.

      In the attached example, after dragging the red square is impossible to click on any of the buttons, then clicking again the buttons will click correctly

      Attachments

        1. dragbug.qml
          1 kB
          Marco Martin
        2. dragbug-1.qml
          0.9 kB
          Marco Martin
        For Gerrit Dashboard: QTBUG-127821
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            notmart Marco Martin
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews