@@ -96,8 +96,6 @@ Showable {
9696 DashContent {
9797 id: dashContent
9898
99− property var scopeThatOpenedScope: null
100−
10199 objectName: "dashContent"
102100 width: dash.width
103101 height: dash.height
@@ -107,7 +105,7 @@ Showable {
107105 dash.setCurrentScope(scopeId, true, false);
108106 }
109107 onOpenScope: {
110− scopeThatOpenedScope = currentScope;
108+ scopeItem.scopeThatOpenedScope = currentScope;
111109 scopeItem.scope = scope;
112110 x = -width;
113111 }
@@ -124,7 +122,7 @@ Showable {
124122 duration: bottomEdgeController.progress != 0 ? 0 : UbuntuAnimation.FastDuration
125123 onRunningChanged: {
126124 if (!running && dashContent.x == 0) {
127− dashContent.scopeThatOpenedScope.closeScope(scopeItem.scope);
125+ scopeItem.scopeThatOpenedScope.closeScope(scopeItem.scope);
128126 scopeItem.scope = null;
129127 }
130128 }
@@ -169,6 +167,22 @@ Showable {
169167 property: "isActive"
170168 value: bottomEdgeController.progress === 1
171169 }
170+
171+ Connections {
172+ target: scopesList.scope
173+ onOpenScope: {
174+ bottomEdgeController.enableAnimation = true;
175+ bottomEdgeController.progress = 0;
176+ scopeItem.scopeThatOpenedScope = scopesList.scope;
177+ scopeItem.scope = scope;
178+ dashContent.x = -dashContent.width;
179+ }
180+ onGotoScope: {
181+ bottomEdgeController.enableAnimation = true;
182+ bottomEdgeController.progress = 0;
183+ dashContent.gotoScope(scopeId);
184+ }
185+ }
172186 }
173187
174188 DashBackground
@@ -184,6 +198,8 @@ Showable {
184198 id: scopeItem
185199 objectName: "dashTempScopeItem"
186200
201+ property var scopeThatOpenedScope: null
202+
187203 x: dashContent.x + width
188204 y: dashContent.y
189205 width: parent.width
@@ -295,7 +311,7 @@ Showable {
295311 enabled: !dashContent.subPageShown &&
296312 dashContent.currentScope &&
297313 dashContent.currentScope.searchQuery == "" &&
298− !scopeItem.subPageShown &&
314+ !scopeItem.scope &&
299315 (bottomEdgeController.progress == 0 || dragging)
300316
301317 readonly property real fullMovement: dash.height