Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.3
-
1dc4bdbabfed1eb73b563a77810ceb00a8fd6fca (qt/qtdeclarative/dev)
Description
Modifications to gadget object returned from property are somehow getting reset. For example:
var f = s.foo f.setValue(3) console.log(f.value())
the value is still the initial one even though setValue() is called and the value is changed. When value() is called, the value set in setValue is reset to the original.
Looks like QML engine reads from 'foo' property each time some function is called and thus overrides the modified object.
Attachments
For Gerrit Dashboard: QTBUG-91783 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
347450,2 | V4: Write back value type references after function calls | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
347756,1 | V4: Write back value type references after function calls | 6.1 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
347757,1 | V4: Write back value type references after function calls | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |