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

MouseX in Mouse area reports different value with Qt 5.15.0 and Qt 5.12.4 on dragging

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      192609f2f8c2f5d8b48716af2166aaa8ad67e80b (qt/qtdeclarative/dev) d9a051a7056212d521c1f8aa3f8e5d66b1a01e96 (qt/qtdeclarative/5.15)

      Description

      With Attached example where a red border rectangle is created to display the MouseArea in the qml. Drag event is added so that dragging can be done horizontally (Drag.XAxis).
      On dragging the mouse over the red rectangle, we can see the value of MouseX and X . MouseX position depends on Width of the parent with Qt 5.15.0 which is not the case in Qt 5.12.4. It shows (-(x position wrt parent rectangle)) in Qt 5.15.0.

        Attachments

        1. qtbug85111.tar.gz
          2 kB
        2. simpler.qml
          0.6 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-85111
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              irfan.omair@digia.com Irfan Omair
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes