Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2, 6.0.2, 6.2.2
-
None
Description
Qt 6.2 docs says that Masked widgets receive mouse events only on their visible portions in https://doc.qt.io/qt-6/qwidget.html#setMask, but it seems that this only applies to MouseDown events. The handler of MouseMoved events don't take into account the mask of the widget.
If I look at the implementation of mouseMovedImpl in qtbase/src/plugins/platforms/cocoa/qnsview_mouse.mm the mask is ignored while if I look at the implementation of handleMouseDownEvent the mask is taken into account to forward or process the event.
Am I missing something?
Attached minimal example. Is a minimal example to reproduce a problem that also occurs in a larger application where I need to control the number of native windows that are created since there is a much larger hierarchy of widgets.
Thanks in advance