[gnome-shell/wip/carlosg/save-pages-after-dnd] appDisplay: Save pages after drag end
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/save-pages-after-dnd] appDisplay: Save pages after drag end
- Date: Fri, 19 Mar 2021 09:43:29 +0000 (UTC)
commit c4d082e7ddf0de96ac287552d16f0f262468e28f
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Mar 19 00:41:16 2021 +0100
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
js/ui/appDisplay.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 40122ad4b9..bb7e47e178 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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]