Please run the modified imagegestures example and try to make a gesture (pinch, swipe etc.) outside of the clock.
The image widget rects to it.
The clock widget is not letting the gesture through.
When a gesture was recognized and a GestureStarted event should be sent the QGestureManager has to determine the target widget that will receive the gesture event. If the gesture has a hot spot the QGestureManager looks for the target via QApplication::topLevelAt(), which delegates to the QPlatformScreen::topLevelAt implementation.
Unfortunately, the QPlatformScreen::topLevelAt() implementation on Wayland just delegates to the client-site managed list of windows, which does not respect masks or other window manager attributes (such as z-ordering rules) that were set to top level widgets. So even top level widgets that are "transparent" at the hot spot will receive the gesture event.
|For Gerrit Dashboard: QTBUG-77516|
|302237,1||WIP try to hack the gesture framework to avoid topLevelAt on Wayland||dev||qt/qtbase||Status: NEW||-2||0|