From 783906d2446e411fb1a8e94bfd1e5233c85f9749 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 3 Jan 2020 17:04:10 +0200 Subject: [PATCH] dont autoposition Layouts for inLocationAnimation --block default-autopositioning for Layouts when the user is changing location for the View. This way we are trying to avoid issues concerning animations and glitches during that animation. --- .../package/contents/ui/layouts/LayoutsContainer.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/containment/package/contents/ui/layouts/LayoutsContainer.qml b/containment/package/contents/ui/layouts/LayoutsContainer.qml index 8103f3f5f..4fce33918 100644 --- a/containment/package/contents/ui/layouts/LayoutsContainer.qml +++ b/containment/package/contents/ui/layouts/LayoutsContainer.qml @@ -50,6 +50,10 @@ Item{ target: layoutsContainer property: "x" value: { + if (visibilityManager.inLocationAnimation) { + return; + } + if (root.behaveAsPlasmaPanel) { return 0; } @@ -82,6 +86,10 @@ Item{ target: layoutsContainer property: "y" value: { + if (visibilityManager.inLocationAnimation) { + return; + } + if (root.behaveAsPlasmaPanel) { return 0; }