Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.15.2
-
None
Description
Application crashes from Qt when Button's enabled property is changed through a binding to a C++ QObject's property modified from onPressed slot of the same Button. I attach the stack trace: Button-onPressed-enabled-crash.txt
Example:
Window {
Button
{ enabled: c++OwnedContexPropertyObject.property onPressed: c++OwnedContexPropertyObject.change_property_value()//Q_INVOKABLE changes "property"'s value and emits it's signal }Button
{ enabled: c++OwnedContexPropertyObject.property onPressed: c++OwnedContexPropertyObject.change_property_value()//Q_INVOKABLE changes "property"'s value and emits it's signal }}
With exact same infrastructure, but replacing the onPressed slot by onClicked the issue doesn't reproduce anymore.