Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Linux, Windows
Description
When some QEntity has a QObjectPicker, the pressed() signal is emitted upon mouse press, the released() upon mouse release, and the clicked() signal will also be emitted if the mouse is still over the entity upon release.
This means that if the mouse leaves the entity before releasing, the clicked() signal will not be emitted.
Now, if you leave an entity while the mouse is pressed and enter another entity with another QObjectPicker instance, the signal clicked() will be emitted for the original entity (or rather its QObjectPicker).
I think the signal should not be emitted in this case as it is not really a click event.
Attachments
Issue Links
- relates to
-
QTBUG-55495 Add a way to capture mouse in ObjectPicker
- Open