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

Mouse source point error caused by multi-touch

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11
    • f51e6552e361c0716f6301b4c5b03b12e8bfe0fe (qt/qtbase/dev) 0305bfc2c686f1cd2394cd45784be47a4653680f (qt/qtbase/5.15)

    Description

      In multi-finger touch, the second touch point will not generate a touchBegin message. If you release the first finger first, and then release the second finger, it will cause m_fakeMouseSourcePointId and the current touchPoint.id() to be unequal. , This will cause the mouseRelease event to not be generated, which will cause the button to not be released.
      So when there is only the last touch point left, m_fakeMouseSourcePointId should be updated.

      Attachments

        1. QTBUG-86253.mp4
          1.98 MB
        2. QTBUG-86253.tar.gz
          10 kB
        3. screenshot-1.png
          screenshot-1.png
          162 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            tanghaixiang haixiang tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes