Merge lp:~aacid/unity8/dash_show_home_no_index into lp:unity8

Proposed by Albert Astals Cid
Status: Merged
Approved by: Michał Sawicz
Approved revision: 573
Merged at revision: 583
Proposed branch: lp:~aacid/unity8/dash_show_home_no_index
Merge into: lp:unity8
Diff against target: 97 lines (+12/-12)
4 files modified
Launcher/Launcher.qml (+3/-3)
Launcher/LauncherPanel.qml (+2/-2)
Shell.qml (+1/-1)
tests/qmltests/Launcher/tst_Launcher.qml (+6/-6)
To merge this branch: bzr merge lp:~aacid/unity8/dash_show_home_no_index
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Andrea Cimitan (community) Approve
Review via email: mp+197714@code.launchpad.net

Commit message

dashItemSelected -> showDashHome

Because we are not using the index at all in the upper layers

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:572
http://jenkins.qa.ubuntu.com/job/unity8-ci/1821/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/1421
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/1390
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/556
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/344
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/345
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/345/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/344
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/1262
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1421
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1421/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1390
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1390/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/3921
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/2063

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/1821/rebuild

review: Approve (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) :
review: Approve
Revision history for this message
Michał Sawicz (saviq) wrote :

Please merge trunk.

Revision history for this message
Michał Sawicz (saviq) wrote :

Please ignore.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:573
http://jenkins.qa.ubuntu.com/job/unity8-ci/1852/
Executed test runs:
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/1555/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/1507
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/611
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/375
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/376
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/376/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/375
    FAILURE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/1380/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1555
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1555/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1507
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1507/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4034
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/2195

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/1852/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Autolanding.
More details in the following jenkins job:
http://jenkins.qa.ubuntu.com/job/unity8-autolanding/849/
Executed test runs:
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/generic-cleanup-mbs/3582
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/1557/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/1509
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/613
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-autolanding/235
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-autolanding/235
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-autolanding/235/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-autolanding/235
    FAILURE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/1382/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1557
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1557/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1509
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1509/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4036
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/2197

review: Needs Fixing (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

Otto trusty environment needed to be updated. A test run after the update passed, so re-approving.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Autolanding.
More details in the following jenkins job:
http://jenkins.qa.ubuntu.com/job/unity8-autolanding/851/
Executed test runs:
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/generic-cleanup-mbs/3585
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/1573
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/1523/console
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/620
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-autolanding/237
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-autolanding/237
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-autolanding/237/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-autolanding/237
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/1395
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1573
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/1573/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1523
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/1523/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4047/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/2208

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Launcher/Launcher.qml'
2--- Launcher/Launcher.qml 2013-11-05 15:43:13 +0000
3+++ Launcher/Launcher.qml 2013-12-10 14:00:58 +0000
4@@ -41,7 +41,7 @@
5 signal dash()
6
7 // emitted when the dash icon in the launcher has been tapped
8- signal dashItemSelected()
9+ signal showDashHome()
10
11 onStateChanged: {
12 if (state == "") {
13@@ -161,9 +161,9 @@
14 root.state = ""
15 launcherApplicationSelected(appId)
16 }
17- onDashItemSelected: {
18+ onShowDashHome: {
19 root.state = ""
20- root.dashItemSelected(index)
21+ root.showDashHome();
22 }
23
24 onPreventHidingChanged: {
25
26=== modified file 'Launcher/LauncherPanel.qml'
27--- Launcher/LauncherPanel.qml 2013-11-19 22:24:49 +0000
28+++ Launcher/LauncherPanel.qml 2013-12-10 14:00:58 +0000
29@@ -36,7 +36,7 @@
30 property int highlightIndex: -1
31
32 signal applicationSelected(string appId)
33- signal dashItemSelected(int index)
34+ signal showDashHome()
35
36 BorderImage {
37 id: background
38@@ -57,7 +57,7 @@
39 id: dashItem
40 width: parent.width
41 height: units.gu(7)
42- onClicked: root.dashItemSelected(0)
43+ onClicked: root.showDashHome()
44 z: 1
45 Image {
46 objectName: "dashItem"
47
48=== modified file 'Shell.qml'
49--- Shell.qml 2013-12-04 13:24:06 +0000
50+++ Shell.qml 2013-12-10 14:00:58 +0000
51@@ -667,7 +667,7 @@
52 dragAreaWidth: shell.edgeSize
53 available: (!greeter.shown || greeter.narrowMode) && edgeDemo.launcherEnabled
54
55- onDashItemSelected: {
56+ onShowDashHome: {
57 if (edgeDemo.running)
58 return;
59
60
61=== modified file 'tests/qmltests/Launcher/tst_Launcher.qml'
62--- tests/qmltests/Launcher/tst_Launcher.qml 2013-10-21 09:02:32 +0000
63+++ tests/qmltests/Launcher/tst_Launcher.qml 2013-12-10 14:00:58 +0000
64@@ -41,9 +41,9 @@
65 lastSelectedApplication = appId
66 }
67
68- property int dashItemSelected_count: 0
69- onDashItemSelected: {
70- dashItemSelected_count++;
71+ property int showDashHome_count: 0
72+ onShowDashHome: {
73+ showDashHome_count++;
74 }
75
76 property int maxPanelX: 0
77@@ -138,9 +138,9 @@
78 }
79
80 /* If I click on the dash icon on the launcher
81- Launcher::dashItemSelected signal should be emitted */
82+ Launcher::showDashHome signal should be emitted */
83 function test_clickingOnDashIconCausesSignalEmission() {
84- launcher.dashItemSelected_count = 0
85+ launcher.showDashHome_count = 0
86
87 revealer.dragLauncherIntoView()
88
89@@ -149,7 +149,7 @@
90
91 mouseClick(dashIcon, dashIcon.width/2, dashIcon.height/2)
92
93- tryCompare(launcher, "dashItemSelected_count", 1)
94+ tryCompare(launcher, "showDashHome_count", 1)
95
96 // Tapping on the dash icon also dismisses the launcher
97 revealer.waitUntilLauncherDisappears()

Subscribers

People subscribed via source and target branches