@@ -1179,9 +1179,9 @@ Item {
11791179
11801180 function test_hideNotWorkingWhenLockedOut_data() {
11811181 return [
1182− {tag: "locked visible", locked: true},
1183− {tag: "no locked visible", locked: false},
1184− ]
1182+ {tag: "locked visible", locked: true},
1183+ {tag: "no locked visible", locked: false},
1184+ ]
11851185 }
11861186
11871187 function test_hideNotWorkingWhenLockedOut(data) {
@@ -1200,5 +1200,27 @@ Item {
12001200 verify(launcher.state == "");
12011201 }
12021202 }
1203+
1204+ function test_cancelKbdNavigationWitMouse() {
1205+ launcher.openForKeyboardNavigation();
1206+ waitForRendering(launcher);
1207+
1208+ var launcherPanel = findChild(launcher, "launcherPanel");
1209+ tryCompare(launcherPanel, "x", 0);
1210+
1211+ var quickList = findChild(launcher, "quickList");
1212+
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
1216+
1217+ waitForRendering(launcher)
1218+ tryCompare(quickList, "visible", true)
1219+
1220+ mouseClick(root, root.width / 2, units.gu(2));
1221+
1222+ tryCompare(launcher, "state", "");
1223+ tryCompare(launcherPanel, "highlightIndex", -2);
1224+ }
12031225 }
12041226}