Verified Commit aaa5e6fe authored by ivan tkachenko's avatar ivan tkachenko
Browse files

effects/private: Fix ExpoLayout reflowing in Desktop Grid while dragging

This fixes makes ExpoLayout independent of its position on a screen,
which in turn stops it from randomly reflowing while dragging a virtual
desktop across desktop grid. It also removes an unwanted animation at
the end of activation of desktop grid: desktops move in place and then
windows proceed to adjust themselves resulting in a double animation.

FIXED-IN: 5.25.5 5.26
parent 97939cea
Pipeline #213011 failed with stage
in 31 minutes and 32 seconds
......@@ -178,8 +178,8 @@ Item {
id: cell
layout: windowHeap.layout
enabled: !thumb.hidden
naturalX: thumb.client.x - targetScreen.geometry.x - windowHeap.layout.Kirigami.ScenePosition.x
naturalY: thumb.client.y - targetScreen.geometry.y - windowHeap.layout.Kirigami.ScenePosition.y
naturalX: thumb.client.x
naturalY: thumb.client.y
naturalWidth: thumb.client.width
naturalHeight: thumb.client.height
persistentKey: thumb.client.internalId
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment