[ui-toolkit] TimePicker behaves erratically after changing system timezone

Bug #1371694 reported by Nekhelesh Ramananthan
42
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Invalid
Undecided
Unassigned
Ubuntu Clock App
Invalid
High
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Invalid
High
Zsombor Egri

Bug Description

import QtQuick 2.3
import Ubuntu.Components 1.1
import Ubuntu.Components.Pickers 1.0

MainView {

    width: units.gu(40)
    height: units.gu(65)

    applicationName: "com.ubuntu.developer.nik90.test2"

    Page
    {
        title: i18n.tr("DatePicker Bug")

        DatePicker {
            anchors {
                top: parent.top
                left: parent.left
                right: parent.right
            }

            clip: true
            mode: "Hours|Minutes"
        }
    }
}

Steps to reproduce bug:
1. Open the above sample app ^^ on the device
2. Then open the system settings app.
3. Change the timezone
4. Switch back to the sample app
5. Click on any value in the timepicker

What happens:
The timepicker changes the value back to some random value and behaves erratically

Output log when that happens:
file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/Pickers/DatePicker.qml:389:5: QML HoursModel: Binding loop detected for property "date"
file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/Pickers/DatePicker.qml:389:5: QML HoursModel: Binding loop detected for property "date"
file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/Pickers/Picker.qml:219:9: QML Binding: Binding loop detected for property "value"

Tags: clock-app
description: updated
description: updated
description: updated
Revision history for this message
Zsombor Egri (zsombi) wrote :

There is no TZ support in the DatePicker yet. No wonder this is working wrong. OTOH, there's no way to get the TZ changes in QML yet, so we must expose the Time component first then we can fix this. Time component is scheduled for post 14.10, so expect this to be fixed after that.

Changed in ubuntu-ui-toolkit:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Zsombor Egri (zsombi)
tags: added: clock-app
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Zsombor Egri (zsombi)
importance: Undecided → High
status: New → Triaged
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
Changed in ubuntu-clock-app:
milestone: none → 3.x.backlog
importance: Undecided → Critical
importance: Critical → High
summary: - TimePicker behaves erratically after changing system timezone
+ [ui-toolkit] TimePicker behaves erratically after changing system
+ timezone
Changed in ubuntu-clock-app:
status: New → Incomplete
Changed in ubuntu-calendar-app:
status: New → Incomplete
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

I'm unable to reproduce this issue anymore, so I'm setting it as invalid

Changed in ubuntu-calendar-app:
status: Incomplete → Invalid
Changed in ubuntu-clock-app:
status: Incomplete → Invalid
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.