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

MouseArea, unexpected position change event with incorrect coordinates after releasing event

    XMLWordPrintable

Details

    • Windows

    Description

      When a mouse is moved with pressed LMB and then released, there is an unexpected position change event with incorrect mouse coordinates:

      qml: onPositionChanged y:285
      qml: onPositionChanged y:290
      qml: onPositionChanged y:292
      qml: onPositionChanged y:294
      qml: onReleased y:294
      qml: onPositionChanged y:39
      

      To reproduce:
      1) Run the example.
      2) Hover cursor over the red rectangle center.
      3) Press left mouse button.
      4) Move the cursor down out of the rectangle and release the button.

      It shows "onReleased" and then the unexpected "onPositionChanged" with incorrect coordinates.
      The bug is reproducible only one time, then the program has to be restarted to reproduce it again.

      Attachments

        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
            alexey89 alexey89
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes