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

Pen PointerEvents not handled in WebAssembly (fix attached)

XMLWordPrintable

    • WebAssembly
    • 82a32ac7ab78d449531f3d5681c1dc943e681d00, bc578ec6e (dev), d7bc61ac5 (6.7), a599c69dc (6.6)

      Qt does not handle PointerEvents with type "pen" sent from the browser properly. It ends up treating them as touch events, which is nonsensical and just leads to warnings being output on the browser console about there not being a target window, but no inputs of any sort happening.

       

      The expected behavior is that tablet events are emitted and, if those aren't accepted, mouse events are synthesized by Qt.

       

      The attached patch implements this on top of Qt 6.6.1.

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

            lpotter Lorn Potter
            askmeaboutloom askme aboutloom
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes