From a7a7ea4af7520ed0f15c07e47cde563c0e819160 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 19 Mar 2021 00:41:16 +0100 Subject: [PATCH] appDisplay: Save pages after drag end In the case that we drop an app in the dash, we take the icon out of its current page, but we forget to save the page after that. This results in oddities dragging further elements around, as the PageManager does no longer consider them to be in the positions they actually are. Related: https://bugzilla.redhat.com/show_bug.cgi?id=1939984 Part-of: --- js/ui/appDisplay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 40122ad4b..bb7e47e17 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1748,6 +1748,7 @@ class AppDisplay extends BaseAppView { _onDragEnd() { super._onDragEnd(); this._removePlaceholder(); + this._savePages(); } _onDragCancelled(overview, source) {