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

DragHandler combined with HoverHandler sometimes provides wrong position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.4
    • 6.2.7, 6.3.1
    • None
    • macOS, Windows

    Description

      We're experiencing an issue when both a HoverHandler and a DragHandler (dragThreshold = 0) are attached to an Item. Sporadically, the reported position is completely wrong and points towards the top-left corner of our window. This breaks all of our draggable controls.

      Try the attached example QML script and repeat press-move-release gestures a couple times. In the attached video you can see the bug happening, which is indicated by the label jumping to the top-left corner of the window even though the mouse roughly in the middle of the window.

      The issue appears regardless of whether a mouse or trackpad is used.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            marcel.gotsch Marcel Gotsch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes