Priority: P1: Critical
Affects Version/s: 5.9.0 Beta 3
Fix Version/s: 5.9.0 RC
Environment:Attached example tested on MacOSX (10.10.1) with clang 7.0.2 64bit.
The archive contains the output of qtdiag.
I'm using the QObjectPicker to select a mesh in a Qt3DWindow with the mouse.
All works as expected, if I click on the mesh, the signal QObjectPicker::clicked() is sent immediatly.
But if I set the property QRenderSettings::renderPolicy to OnDemand, then the signal QObjectPicker::clicked() is emitted only when the rendering is done (when something changes, as says the documentation of QRenderSettings::renderPolicy).
Worst, if I click several times, then each click is "stacked", until the rendering is done. Then the signals QObjectPicker::clicked() is sent serveral times.
- launch the attached example
- click one or more times on the black rectangle
EXPECTED: message "Cube clicked" must appears in the console as many times as click on the rectangle.
ACTUAL: message "Cube clicked" appears in the console as many times as click on the rectangle only if I resize the window.