@@ -183,7 +183,8 @@ AbstractStage {
186− property bool focusedAppDelegateIsDislocated: focusedAppDelegate && focusedAppDelegate.x !== 0
186+ property bool focusedAppDelegateIsDislocated: focusedAppDelegate &&
187+ (focusedAppDelegate.x !== 0 || focusedAppDelegate.xBehavior.running)
188 function indexOf(appId) {
189 function indexOf(appId) {
189 for (var i = 0; i < root.applicationManager.count; i++) {
190 for (var i = 0; i < root.applicationManager.count; i++) {
@@ -474,7 +475,6 @@ AbstractStage {
475 property var xBehavior: xBehavior
476 property var xBehavior: xBehavior
476 Behavior on x {
477 Behavior on x {
478 enabled: root.spreadEnabled &&
478 enabled: root.spreadEnabled &&
479 !spreadView.active &&
479 !spreadView.active &&
480 !snapAnimation.running &&
480 !snapAnimation.running &&
@@ -482,6 +482,7 @@ AbstractStage {
482 priv.animateX &&
482 priv.animateX &&
483 !root.beingResized
483 !root.beingResized
484 UbuntuNumberAnimation {
484 UbuntuNumberAnimation {
485 duration: UbuntuAnimation.BriskDuration
486 duration: UbuntuAnimation.BriskDuration
@@ -524,12 +525,15 @@ AbstractStage {
524 // Hide tile when progress is such that it will be off screen.
525 // Hide tile when progress is such that it will be off screen.
525 property bool occluded: {
526 property bool occluded: {
526 if (spreadView.active && (progress >= 0 && progress < 1.7)) return false;
527 if (spreadView.active && (progress >= 0 && progress < 1.7)) return false;
527− if (!spreadView.active && isFocused) return false;
528+ else if (!spreadView.active && isFocused) return false;
529+ else if (xBehavior.running) return false;
530+ else if (z <= 1 && priv.focusedAppDelegateIsDislocated) return false;
528 return true;
531 return true;
531 visible: Powerd.status == Powerd.On &&
534 visible: Powerd.status == Powerd.On &&
532− (!occluded || (isDash && priv.focusedAppDelegateIsDislocated))
535+ !greeter.fullyShown &&
534 shellOrientationAngle: root.shellOrientationAngle
538 shellOrientationAngle: root.shellOrientationAngle
535 shellOrientation: root.shellOrientation
539 shellOrientation: root.shellOrientation