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

Mouse events not propagated to Wayland clients

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.2.2
    • Wayland Compositor
    • None
    • Desktop Ubuntu 20.04
    • Linux/Wayland

    Description

      Run attached QML files:

      qml compositor.qml &

      and

      QT_WAYLAND_DISABLE_WINDOWDECORATION=1 qml client.qml -platform wayland

      Expected output would be that clicking on the blue rectangle would print "Client: Clicked", since propagateComposedEvents is set to true on the compositor's topmost MouseArea. This works at least for the orange rectangle within the compositor. However, the ShellSurfaceItem doesn't propagate the event to the client. Debugging Wayland shows that wl_pointer.motion events are sent to the client, but no wl_pointer.button events.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              bweimer Bernd Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes