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

Touch Drag doesn't cause mousePressEvent after Touch Press

    XMLWordPrintable

Details

    • Windows
    • b3958d26c (dev), 5363ac342 (6.6), 74f92e18a (tqtc/lts-6.5), 4bb230f65 (dev), 7608a0be3 (6.6), dcf9d9500 (tqtc/lts-6.5)

    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

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              foxxx Tuukka Kettunen
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews