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

Touch events are only delivered to the most recently connected wayland client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.8.0 Beta
    • 5.7.0
    • QPA: Wayland
    • Reproducible with any touch screen.

      Attached example is based on the pure-qml compositor and extends it, by adding a button to the background and set touchEventsEnabled to true for the connected shell surfaces.
      When multiflame.qml is used as only wayland client, touch events are received (both single and multi), but in case we have more than one wayland client ( we launch multiflame two times and get two wayland surfaces) only one wayland client receives touch events.
      Steps:
      1. Launch modified compositor
      2. Test that green button works as expected (changes to red)
      3. launch multiflame as a wayland client two times so there are two wayland surfaces
      4. Do a touch press in one multiflame window and verify that it renders two flames.
      5. Try to do the same with another multiflame window.

        1. remove-touch-focus-2.patch
          18 kB
        2. remove-touch-focus.patch
          14 kB
        3. multitouch-bug.tar.gz
          651 kB
        4. fix-touch-focus-5.7.patch
          18 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            johanhelsing Johan Helsing
            nedo99 Nedim Hadzic
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes