Merge lp:~jonas-drange/ubuntu-system-settings/lp1492260 into lp:ubuntu-system-settings
Status: | Merged |
---|---|
Approved by: | Ken VanDine |
Approved revision: | 1534 |
Merged at revision: | 1531 |
Proposed branch: | lp:~jonas-drange/ubuntu-system-settings/lp1492260 |
Merge into: | lp:ubuntu-system-settings |
Diff against target: |
177 lines (+37/-29) 4 files modified
plugins/time-date/ChooseTimeZone.qml (+4/-2) plugins/time-date/PageComponent.qml (+3/-1) plugins/time-date/timezonelocationmodel.cpp (+23/-20) plugins/time-date/timezonelocationmodel.h (+7/-6) |
To merge this branch: | bzr merge lp:~jonas-drange/ubuntu-system-settings/lp1492260 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ken VanDine | Approve | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Review via email: mp+270541@code.launchpad.net |
Commit message
[time-date] Migrate threaded code to worker-object pattern, move sorting to a worker thread from the GUI thread, and only instantiate UbuntuTimeDatePanel plugin once.
Description of the change
NOTE: When you select a city/timezone, exit the panel and then re-enter it; there's a bug where it looks like more than one timezone is selected. This was not introduced by this branch and has been filed here, bug 1494860.
* Sorting of tz list ran in the main thread (this was the main contributor to the ui blockage). Sorting now happens in a separate thread.
* We're no longer sublassing QThread per recommendation from QT, instead we use a worker-object pattern.
* The UbuntuTimeDatePanel plugin was instantiated twice which, so the timezone map build was run twice. The plugin is now transferred from PageComponent to ChooseTimeZone via pagestack.
FAILED: Continuous integration, rev:1521 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- ci/2386/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 4083 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- vivid-amd64- ci/161 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- vivid-i386- ci/570 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 3336 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4080 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4080/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 23173
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- system- settings- ci/2386/ rebuild
http://