diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2021-03-19 00:41:16 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2021-03-19 10:42:59 +0100 |
commit | c4d082e7ddf0de96ac287552d16f0f262468e28f (patch) | |
tree | 13cf0b381fadad20bbe0f2956ce0d381cd0cf4b0 | |
parent | ec071ae4c2c747cc432839805d0c3754f647d55a (diff) | |
download | gnome-shell-wip/carlosg/save-pages-after-dnd.tar.gz |
appDisplay: Save pages after drag endwip/carlosg/save-pages-after-dnd
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
-rw-r--r-- | js/ui/appDisplay.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |