Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.2, 5.1.0 Beta 1
-
None
-
Windows 7 x64
-
qtbase: 7ae6e48d57f89596ddf40980aeff4ef7340ba689
Description
When a QtQuick2 window is behind a click-through/transparent window, any first click after mouse movement does not trigger a MouseArea onClicked handler. The MouseArea must have the "hoverEnabled" property set to true. Subsequent clicks without moving the mouse work as expected.
A click-through window is a window that lets any mouse events in its area pass through to windows behind it. It can be created with the attached ClickThroughWindow.cpp app, or more realistically, the desktop sharing function of Microsoft Lync 2010 (possibly also other versions or desktop sharing applications that visualize active sharing with an always-on-top border on the screen).
OnClickedTest.qml provides a minimal example where the behavior can be observed.