@@ -1179,9 +1179,9 @@ Item {
1180 function test_hideNotWorkingWhenLockedOut_data() {
1180 function test_hideNotWorkingWhenLockedOut_data() {
1181 return [
1181 return [
1182− {tag: "locked visible", locked: true},
1182+ {tag: "locked visible", locked: true},
1183− {tag: "no locked visible", locked: false},
1183+ {tag: "no locked visible", locked: false},
1187 function test_hideNotWorkingWhenLockedOut(data) {
1187 function test_hideNotWorkingWhenLockedOut(data) {
@@ -1200,5 +1200,27 @@ Item {
1200 verify(launcher.state == "");
1200 verify(launcher.state == "");
1204+ function test_cancelKbdNavigationWitMouse() {
1205+ launcher.openForKeyboardNavigation();
1206+ waitForRendering(launcher);
1208+ var launcherPanel = findChild(launcher, "launcherPanel");
1209+ tryCompare(launcherPanel, "x", 0);
1211+ var quickList = findChild(launcher, "quickList");
1213+ keyClick(Qt.Key_Down); // Down to launcher item 0
1214+ keyClick(Qt.Key_Down); // Down to launcher item 1
1215+ keyClick(Qt.Key_Right); // Into quicklist
1217+ waitForRendering(launcher)
1218+ tryCompare(quickList, "visible", true)
1220+ mouseClick(root, root.width / 2, units.gu(2));
1222+ tryCompare(launcher, "state", "");
1223+ tryCompare(launcherPanel, "highlightIndex", -2);