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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. fix-touch-focus-5.7.patch
          18 kB
        2. multitouch-bug.tar.gz
          651 kB
        3. remove-touch-focus.patch
          14 kB
        4. remove-touch-focus-2.patch
          18 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: