aunetx / blur-my-shell

Extension that adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview
https://extensions.gnome.org/extension/3193/blur-my-shell/
GNU General Public License v3.0
1.46k stars 81 forks source link

JS Error: too much recursion #557

Open bfsgr opened 3 months ago

bfsgr commented 3 months ago

I don't know exactly how to reproduce this issue, but sometimes the extension causes an error that gnome-shell reports as "JS ERROR: too much recursion". It may or may not be causing an issue with workspace switching reported upstream.

OS: Fedora 39 on Wayland

JS ERROR: too much recursion              createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46
                                          get@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/conveniences/settings.js:51:59
                                          _log@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:304:13
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:78:28
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
                                          enable/wac_proto._prepareWorkspaceSwitch@file:///home/bfsgr/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:79:52
FOUR-BITS-28 commented 2 months ago

I'm also experiencing this issue. I noticed it first when I unlocked the computer and then the workspace switch animation began to not work. Consequently, the windows from other workspaces started overlapping with each other every time I switch. Upon checking the logs from journalctl -b, I saw the same "JS ERROR: too much recursion" that gnome-shell reported. Logging out and logging in will temporarily fix the issue, but will come back after unlocking the computer.

SimonBlancoE commented 1 month ago

Same here. After closing the lid of the laptop or letting it go to sleep, the horizontal three-finger-swipe gesture won't work. It doesn't change workspaces at all.

Here's part of the logs that may be relevant:

may 07 11:56:14 localhost.localdomain gnome-shell[3117]: [Blur my Shell > overview]     prepare workspace switch
may 07 11:56:14 localhost.localdomain gnome-shell[3117]: JS ERROR: too much recursion
                                                         _log@file:///home/octo/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:203:21
                                                         enable/wac_proto._prepareWorkspaceSwitch@file:///home/octo/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/components/overview.js:65:28
aunetx commented 1 month ago

Hello, could you try installing from latest commit in github? It should normally be fixed now, although I've not pushed the update to extensions.gnome.org yet :)

SimonBlancoE commented 1 month ago

Hello, could you try installing from latest commit in github? It should normally be fixed now, although I've not pushed the update to extensions.gnome.org yet :)

Confirmed, swiping works with the latest commit. Thanks so much for your work, love the extension! 😃