extension crashes gnome-shell when a gnome files opens a modal dialog on another workspace
The gnome-shell session reproducibly crashes if a file is deleted in GNOME Files on a workspace other than the one defined in the auto-move-windows rules.
Steps to reproduce:
- Create a rule for GNOME Files on e.g. workspace 4.
- Start GNOME Files.
- Manually move GNOME Files window to a workspace other than 4.
- Delete a file using the shortcut [shift]+[delete]
Related log:
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: mutter:ERROR:core/workspace.c:362:meta_workspace_add_window: assertion failed: (g_list_find (workspace->mru_list, window) == NULL)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: == Stack trace for context 0x5643a16ad1d0 ==
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #0 0x7ffd293c4b20 b /home/username/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com/extension.js:87 (0x7f7e740e3e68 @ 140)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #1 0x7ffd293c4bd0 b /home/username/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com/extension.js:104 (0x7f7e740ed120 @ 25)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #2 0x7ffd293c4c30 I self-hosted:251 (0x7f7e882c4ab0 @ 223)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #3 0x7ffd293c4cd0 b /home/username/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com/extension.js:103 (0x7f7e740e3ef0 @ 236)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #4 0x7ffd293c4d50 I self-hosted:916 (0x7f7e882ebf78 @ 367)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #5 0x7ffd293c6670 b /home/username/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com/extension.js:87 (0x7f7e740e3e68 @ 140)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #6 0x7ffd293c6720 b /home/username/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com/extension.js:104 (0x7f7e740ed120 @ 25)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #7 0x7ffd293c6780 I self-hosted:251 (0x7f7e882c4ab0 @ 223)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #8 0x7ffd293c6820 b /home/username/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com/extension.js:103 (0x7f7e740e3ef0 @ 236)
Sep 07 19:20:40 hostname org.gnome.Shell.desktop[13617]: #9 0x7ffd293c68a0 I self-hosted:916 (0x7f7e882ebf78 @ 367)
Sep 07 19:20:41 hostname org.gnome.Shell.desktop[13617]: (EE) failed to read Wayland events: Connection reset by peer
Please find more details in the issue I filed with gnome-shell: gnome-shell#543 (closed)
Edited by Florian Müllner