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

DragHandler catches events when tumbler is dragged

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.1
    • Quick: Controls 2
    • None
    • Linux/X11

    Description

      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.

      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
              denishessberger Denis Hessberger
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes