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

DragHandler catches events when tumbler is dragged

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.6.1, 6.8.0, 6.8.1, 6.9.0
    • Quick: Controls 2
    • None
    • Linux/X11

      TouchEvents for dragging are captured by drag handlers beneath dialog.

      In the attached project, we have a small example of a rectangle with a drag handler, and a dialog, which is explicitly after the dragged item in stacking order. Events from the dialog still trigger the draghandler beneath and make the tumbler unusable with dialogs.

      The same actually happens with the ListView of ComboBoxes. When the View is dragged, the drag handler below the dialog also receives the drag.

      In our case, the dialog is created dynamically and we cannot explicitly connect the dragHandler enabled state with dialog.opened.

      This seems to be specific to drag handlers underneath the dialog. AbstractButtons for example do not receive events when a dialog is opened on top of them.

        1. tumbler-weirdness.zip
          8 kB
          Denis Hessberger
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            denishessberger Denis Hessberger
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes