Merge lp:~tpeeters/ubuntu-ui-toolkit/panel-hideTimer into lp:ubuntu-ui-toolkit
Proposed by
Tim Peeters
Status: | Merged |
---|---|
Approved by: | Cris Dywan |
Approved revision: | 892 |
Merged at revision: | 879 |
Proposed branch: | lp:~tpeeters/ubuntu-ui-toolkit/panel-hideTimer |
Merge into: | lp:ubuntu-ui-toolkit |
Diff against target: |
305 lines (+104/-36) 6 files modified
CHANGES (+1/-0) components.api (+1/-0) modules/Ubuntu/Components/Panel.qml (+54/-6) modules/Ubuntu/Components/Toolbar.qml (+1/-22) tests/unit_x11/tst_components/tst_panel.qml (+33/-7) tests/unit_x11/tst_components/tst_toolbar.qml (+14/-1) |
To merge this branch: | bzr merge lp:~tpeeters/ubuntu-ui-toolkit/panel-hideTimer |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Cris Dywan | Approve | ||
Review via email: mp+197442@code.launchpad.net |
Commit message
Reset hide timer when user interacts with toolbar or toolbar buttons.
Description of the change
Move the hide timer from Toolbar to Panel, trigger it when open() is called, and restart it on user interaction.
The timer was moved because open() is defined in Panel, and user interaction (pressing and releasing on top of the panel) are dealt with in Panel, not Toolbar, and open() and user interactions need to reset the timer. To keep backwards UX compatibility for Panel, the default hideTimeout was set to -1 ==> no timer.
To post a comment you must log in.
PASSED: Continuous integration, rev:889 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- ci/1377/ jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 1366 jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty- touch/1339 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- amd64-ci/ 325 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- armhf-ci/ 325 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- armhf-ci/ 325/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-trusty/ 1216 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/1366 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/1366/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/1339 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/1339/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- runner- mako/3878 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 2001
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- ui-toolkit- ci/1377/ rebuild
http://