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

Touch points coordinates does not take into account the Device Pixel Ratio on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.3.0 Beta1, 6.4.0 Beta1
    • 6.2.1, 6.2.2
    • Quick: Controls 2
    • None
    • Windows 10 , MSVC 2019, Qt Creator 5.0.3, Qt 6.2.1
    • Windows
    • d08038ba70 (qt/qtdeclarative/dev) d08038ba70 (qt/tqtc-qtdeclarative/dev) ee68d19b1d (qt/qtdeclarative/6.3) ee68d19b1d (qt/tqtc-qtdeclarative/6.3) cf39c6e28d (qt/qtdeclarative/6.2) cf39c6e28d (qt/tqtc-qtdeclarative/6.2) cf39c6e28d (qt/qtdeclarative/6.2.4)

    Description

      The touch points coordinates received by controls doesn't take into account the Device Pixel Ratio, the result is that, when the device pixel ratio is different than 1,  a slider follows the input coordinates when using the mouse, but doesn't when using touch . Same problem whith Flickable.

      No problem with Qt 5.15

      Attachments

        1. crashqtslider3.mp4
          3.67 MB
        2. Page1Form.qml
          0.5 kB

        Issue Links

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

          Activity

            People

              smd Jan Arve
              noureddine Noureddine MECELLEM
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes