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

Touch Drag doesn't cause mousePressEvent after Touch Press

    XMLWordPrintable

Details

    • Windows

    Description

      When using a touch screen (tested on Windows 11), if one has a QScrollArea and when trying to drag across with a touch screen, a mousePressEvent does not occur if the previous event was a touch event like a tap.

      Way to reproduce

      1) Build the attached application with Qt 6.4.3.
      2) Run the app on Windows 11 with a touch screen.
      3) If you tap in the scroll area, a mousePressEvent occurs and you will get reported a location.
      4) Drag with your finger, no mousePressEvent occurs. After that, every finger drag will report a mousePressEvent until you tap in the scroll area, then again, the next drag doesn't cause a mousePressEvent.

      Attachments

        1. qtbug112479.zip
          3 kB
          Tuukka Kettunen

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            foxxx Tuukka Kettunen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: