Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2
-
Documentation Web Page
Description
The documentation of the clicked(MouseEvent mouse) states:
When handling this signal, changing the accepted property of the mouse parameter has no effect.
This is not correct, as when propagateComposedEvents attribute is set to true, changing the accepted property of the mouse parameter inside onClick: block indeed controls whether the actual event will be propagated to underlaying MouseArea or not.
The current texting is misleading in that it sugests, that you can not make event propagated once you started to handle it (enter onClick: block), what is not true (experimentally verified - see the demo project attached).
Attachments
For Gerrit Dashboard: QTBUG-46912 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
180931,6 | Clarify MouseArea's onClicked and onPressAndHold documentation | 5.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |