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
=== modified file 'Launcher/Launcher.qml'
--- Launcher/Launcher.qml 2013-11-05 15:43:13 +0000
+++ Launcher/Launcher.qml 2013-12-10 14:00:58 +0000
@@ -41,7 +41,7 @@
41 signal dash()41 signal dash()
4242
43 // emitted when the dash icon in the launcher has been tapped43 // emitted when the dash icon in the launcher has been tapped
44 signal dashItemSelected()44 signal showDashHome()
4545
46 onStateChanged: {46 onStateChanged: {
47 if (state == "") {47 if (state == "") {
@@ -161,9 +161,9 @@
161 root.state = ""161 root.state = ""
162 launcherApplicationSelected(appId)162 launcherApplicationSelected(appId)
163 }163 }
164 onDashItemSelected: {164 onShowDashHome: {
165 root.state = ""165 root.state = ""
166 root.dashItemSelected(index)166 root.showDashHome();
167 }167 }
168168
169 onPreventHidingChanged: {169 onPreventHidingChanged: {
170170
=== modified file 'Launcher/LauncherPanel.qml'
--- Launcher/LauncherPanel.qml 2013-11-19 22:24:49 +0000
+++ Launcher/LauncherPanel.qml 2013-12-10 14:00:58 +0000
@@ -36,7 +36,7 @@
36 property int highlightIndex: -136 property int highlightIndex: -1
3737
38 signal applicationSelected(string appId)38 signal applicationSelected(string appId)
39 signal dashItemSelected(int index)39 signal showDashHome()
4040
41 BorderImage {41 BorderImage {
42 id: background42 id: background
@@ -57,7 +57,7 @@
57 id: dashItem57 id: dashItem
58 width: parent.width58 width: parent.width
59 height: units.gu(7)59 height: units.gu(7)
60 onClicked: root.dashItemSelected(0)60 onClicked: root.showDashHome()
61 z: 161 z: 1
62 Image {62 Image {
63 objectName: "dashItem"63 objectName: "dashItem"
6464
=== modified file 'Shell.qml'
--- Shell.qml 2013-12-04 13:24:06 +0000
+++ Shell.qml 2013-12-10 14:00:58 +0000
@@ -667,7 +667,7 @@
667 dragAreaWidth: shell.edgeSize667 dragAreaWidth: shell.edgeSize
668 available: (!greeter.shown || greeter.narrowMode) && edgeDemo.launcherEnabled668 available: (!greeter.shown || greeter.narrowMode) && edgeDemo.launcherEnabled
669669
670 onDashItemSelected: {670 onShowDashHome: {
671 if (edgeDemo.running)671 if (edgeDemo.running)
672 return;672 return;
673673
674674
=== modified file 'tests/qmltests/Launcher/tst_Launcher.qml'
--- tests/qmltests/Launcher/tst_Launcher.qml 2013-10-21 09:02:32 +0000
+++ tests/qmltests/Launcher/tst_Launcher.qml 2013-12-10 14:00:58 +0000
@@ -41,9 +41,9 @@
41 lastSelectedApplication = appId41 lastSelectedApplication = appId
42 }42 }
4343
44 property int dashItemSelected_count: 044 property int showDashHome_count: 0
45 onDashItemSelected: {45 onShowDashHome: {
46 dashItemSelected_count++;46 showDashHome_count++;
47 }47 }
4848
49 property int maxPanelX: 049 property int maxPanelX: 0
@@ -138,9 +138,9 @@
138 }138 }
139139
140 /* If I click on the dash icon on the launcher140 /* If I click on the dash icon on the launcher
141 Launcher::dashItemSelected signal should be emitted */141 Launcher::showDashHome signal should be emitted */
142 function test_clickingOnDashIconCausesSignalEmission() {142 function test_clickingOnDashIconCausesSignalEmission() {
143 launcher.dashItemSelected_count = 0143 launcher.showDashHome_count = 0
144144
145 revealer.dragLauncherIntoView()145 revealer.dragLauncherIntoView()
146146
@@ -149,7 +149,7 @@
149149
150 mouseClick(dashIcon, dashIcon.width/2, dashIcon.height/2)150 mouseClick(dashIcon, dashIcon.width/2, dashIcon.height/2)
151151
152 tryCompare(launcher, "dashItemSelected_count", 1)152 tryCompare(launcher, "showDashHome_count", 1)
153153
154 // Tapping on the dash icon also dismisses the launcher154 // Tapping on the dash icon also dismisses the launcher
155 revealer.waitUntilLauncherDisappears()155 revealer.waitUntilLauncherDisappears()

Subscribers

People subscribed via source and target branches