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

DragHandler and DropArea interaction might cause a stuck mousegrab

    XMLWordPrintable

Details

    • Linux/Wayland
    • 7e419dae4 (dev), 8819184a5 (6.8)

    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
        2. dragbug-1.qml
          0.9 kB
        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:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes