@@ -28,29 +28,42 @@ Showable {
29 visible: shown
29 visible: shown
35+ dashContent.scope.performQuery(uris[0])
31 DashCommunicatorService {
39 DashCommunicatorService {
32 objectName: "dashCommunicatorService"
40 objectName: "dashCommunicatorService"
33 onSetCurrentScopeRequested: {
41 onSetCurrentScopeRequested: {
34 if (!isSwipe || !window.active || bottomEdgeController.progress != 0 || scopeItem.scope || dashContent.subPageShown) {
42 if (!isSwipe || !window.active || bottomEdgeController.progress != 0 || scopeItem.scope || dashContent.subPageShown) {
35 if (bottomEdgeController.progress != 0 && window.active) animate = false;
43 if (bottomEdgeController.progress != 0 && window.active) animate = false;
36 dashContent.setCurrentScopeAtIndex(index, animate, isSwipe)
44 dashContent.setCurrentScopeAtIndex(index, animate, isSwipe)
37− // Close dash overview and nested temp scopes in it
45+ backToDashContent()
38− if (bottomEdgeController.progress != 0) {
39− bottomEdgeController.enableAnimation = window.active;
40− bottomEdgeController.progress = 0;
42− // Close normal temp scopes (e.g. App Store)
43− if (scopeItem.scope) {
44− scopeItem.backClicked();
47− if (dashContent.subPageShown) {
48− dashContent.closePreview();
50+ function backToDashContent()
52+ // Close dash overview and nested temp scopes in it
53+ if (bottomEdgeController.progress != 0) {
54+ bottomEdgeController.enableAnimation = window.active;
55+ bottomEdgeController.progress = 0;
57+ // Close normal temp scopes (e.g. App Store)
58+ if (scopeItem.scope) {
59+ scopeItem.backClicked();
62+ if (dashContent.subPageShown) {
63+ dashContent.closePreview();
54 function setCurrentScope(scopeId, animate, reset) {
67 function setCurrentScope(scopeId, animate, reset) {
55 var scopeIndex = -1;
68 var scopeIndex = -1;
56 for (var i = 0; i < scopes.count; ++i) {
69 for (var i = 0; i < scopes.count; ++i) {