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

When multiple screens are touched, the touchPoint.id is 0.

XMLWordPrintable

    • Linux/X11

      Environment:
      1.Ubuntu20.04.
      2.Qt5.15.5
      Demo:knobs.zip
      Operating Steps:knobs
      1. Both display screens are touch-enabled.
      2.Run the demo for the PopupWidget in the attachment on the main screen
      3. Touch and hold the circle in the demo without releasing, then disable touch functionality on the other screen via command line(echo 0 > /sys/bus/usb/devices/usb3/3-1/3-1.2/authorized).
      4. Release your finger from the circle.

      As shown in the log from kncks_longtouch_issue.png, the current touchPoint.id is 0.
      This causes all Qt widgets to become unusable.

      Qt-related source code and logs:qxcbconnection_xi2.cpp and qxcbconnection_xi2.cpp_log.png
      Set the environment variable QT_LOGGING_RULES to qt.qpa.input=true for logging:touchPointID.png

        1. qxcbconnection_xi2.cpp
          60 kB
        2. PopupWidget.zip
          5 kB
        3. knobs.zip
          8 kB
        4. kncks_longtouch_issue.png
          kncks_longtouch_issue.png
          5.48 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            fredkang Zengrui Kang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes