Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.7, 6.2, 6.4.1, 6.4, 6.5.0 Beta1
-
6.x
-
-
53fa870971 (qt/qtdeclarative/dev) d99a4abda4 (qt/qtdeclarative/6.4) d99a4abda4 (qt/tqtc-qtdeclarative/6.4) 53fa870971 (qt/tqtc-qtdeclarative/dev) 65efbd390b (qt/tqtc-qtdeclarative/6.2)
Description
This looks like a regression of QTBUG-82020 and QTBUG-68350 which where fixed in Qt5 long time ago, but running the provided example projects of both bugs with Qt6 (any version) show the failures:
Attached another sample project showing the same wrong behavior when compiled with Qt6, but woirks as expected with Qt 5.15: retranslationBug.zip
When calling QQmlApplicationEngine::retranslate() the ComboBox popup items are not retranslated. It shows always the same strings as the first time the popup was opened. But the currentText property is correctly translated.
The ListView items are never translated.
Attachments
For Gerrit Dashboard: QTBUG-107208 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
437154,6 | QQmlListModel: emit dataChange signal when updating the translations | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
437518,2 | QQmlListModel: emit dataChange signal when updating the translations | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
437519,2 | QQmlListModel: emit dataChange signal when updating the translations | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |