Comment 2 for bug 1346669

Revision history for this message
Zsombor Egri (zsombi) wrote :

Ok, I guess I got the point. The logic adjusting the time is erroneous depending on the change. If the time component is set forward to the previous value (i.e. seconds), the major time component is also adjusted (i.e. minutes). This is due to a binding loop inside the DatePicker:
"modules/Ubuntu/Components/Pickers/DatePicker.qml:400, unknown) - file:///home/zsombor/projects/datepicker-fix-1346669/modules/Ubuntu/Components/Pickers/DatePicker.qml:400:5: QML MinutesModel: Binding loop detected for property "date""

And I cannot find a pattern to reproduce. So me times the failure happens immediately I run the app, sometimes it only happens on hour, sometimes happens only if at least two tumblers are spanned same time. And sometimes the binding loop does not appear but the failure is there... This is hard to create a test to.