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

Mouse release event not sent in Wayland compositor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.2.2
    • None
    • Ubuntu 20.04
    • All

      Run attached QML files:
      qml compositor.qml &
      and
      QT_WAYLAND_DISABLE_WINDOWDECORATION=1 qml client.qml -platform wayland
      Use mouse buttons on the orange and blue rectangle like so:

      1. Press left
      2. Press Right
      3. Release Right
      4. Release Left

      The order of 3. and 4. does not matter. Expected result is that a release event is sent. This is the case for the orange rectangle, however not for the blue Wayland SurfaceItem. If steps 2. and 3. are omitted, it works as expected also for the SurfaceItem.

      It is even worse, when the MouseArea is not a child of ShellSurfaceItem (needs "anchors.fill: ssi"). After 1. and 2. no mouse events are sent any more at all.

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

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

              Created:
              Updated:

                There are no open Gerrit changes