Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11.0 Beta 4
-
None
Description
Create a Calendar (in Qt.labs of Controls2)
Create a TextField (or any other element) for changing MonthGrid's locale
On first change locale doesn't change and on second change the first locale will be apply.
Because on QQuickMonthModel::setLocale changing locale written after dataChanged.
http://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/src/imports/calendar/qquickmonthmodel.cpp#n146
Solution:
Remove all parameters of d->populate and force it to use variables from itself (private data).
And:
The qml-calendaring system on controls2 side will be coverage this bug
https://codereview.qt-project.org/#/c/228407/
Gerrit review:
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-68134 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
229314,4 | Calendar control locale changes with delay | dev | qt/qtquickcontrols2 | Status: NEW | 0 | 0 |