Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QDS 4.5.1, QDS 4.6.0
-
None
-
b0af280b3 (qds/dev), b9349b9c2 (qds/4.7), e51925e4e (qds/dev), 58662eb62 (qds/dev)
-
QDS Berlin - 2025 Week 7/8, QDS Berlin - 2025 Week 9/10, QDS Berlin - 2025 Week 11/12
Description
Code
Text { id: txt text: "Built-in" property string customText: "Custom" }
Steps to reproduce
- Put the code above into a *.ui.qml file
- In the Property Editor, click the "tr" button for txt.text
- In the Property Editor, click the "tr" button for txt.customText
- In the Property Editor, click the "tr" button for txt.text again
- In the Property Editor, click the "tr" button for txt.customText again
Outcomes
Step | Property code | Property editor string |
---|---|---|
1 | text: "Built-in" | "Built-in" |
1 | customText: "Custom" | "Custom" |
2 | text: qsTr("Built-in") | "Built-in" |
3 | customText: qsTr("Custom") | "0" |
4 | text: "Built-in" | "Built-in" |
5 | customText: "0" | "0" |
Furthermore,
- Step #2: The "tr" button for txt.text becomes highlighted (Expected)
- Step #3: The Binding button txt.customText becomes highlighted (Not Expected)
Attachments
Issue Links
- relates to
-
QDS-13535 Binding Editor and Property View don't treat enum constants as constants
-
- Reported
-
For Gerrit Dashboard: QDS-13513 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
630588,3 | PropertyEditorValue: improvement for isTranslated | qds/dev | qt-creator/qt-creator | Status: MERGED | +2 | -1 |
630589,4 | qmlpuppet: watch changes of new dynamic properties | qds/dev | qt-creator/qt-creator | Status: MERGED | +2 | +1 |
630590,4 | DynamicPropertiesModel: handle instance property changes | qds/dev | qt-creator/qt-creator | Status: MERGED | +2 | -1 |
630874,2 | PropertyEditorValue: improvement for isTranslated | qds/4.7 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |