mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
469 stars 60 forks source link

disabled with "class heritage GWorkspaceAnimation.MonitorGroup is not an object or null" error #229

Closed stollem closed 2 years ago

stollem commented 2 years ago

I can't get wsmatrix to work on my desktop - I get the following error message in journalctl (the first two lines may or may not be related).

May 24 09:36:25 xxxxxxxxxxxxxxxxxxxxxxxxxxx gnome-shell[5885]: Some code accessed the property 'WORKSPACE_SPACING' on the module 'workspaceAnimation'. That property was defined with 'let' or 'const' inside the module. This was pr
eviously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code a
nyway.
May 24 09:36:25 xxxxxxxxxxxxxxxxxxxxxxxxxxx gnome-shell[5885]: Some code accessed the property 'MonitorGroup' on the module 'workspaceAnimation'. That property was defined with 'let' or 'const' inside the module. This was previou
sly supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway
.

May 24 09:36:25 xxxxxxxxxxxxxxxxxxxxxxxxxxx gnome-shell[5885]: JS ERROR: Extension wsmatrix@martin.zurowietz.de: TypeError: class heritage GWorkspaceAnimation.MonitorGroup is not an object or null
                                                               @/usr/local/google/home/mstoll/.local/share/gnome-shell/extensions/wsmatrix@martin.zurowietz.de/workspacePopup/workspaceAnimation.js:9:1
                                                               @/usr/local/google/home/mstoll/.local/share/gnome-shell/extensions/wsmatrix@martin.zurowietz.de/workspacePopup/workspaceManagerOverride.js:2:28
                                                               @/usr/local/google/home/mstoll/.local/share/gnome-shell/extensions/wsmatrix@martin.zurowietz.de/extension.js:3:34
                                                               _callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:420:13
                                                               loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:345:27
                                                               _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:594:18
                                                               collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28
                                                               _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:573:19
                                                               _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:603:18
                                                               _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:634:18
                                                               init@resource:///org/gnome/shell/ui/extensionSystem.js:56:14
                                                               _initializeUI@resource:///org/gnome/shell/ui/main.js:265:22
                                                               start@resource:///org/gnome/shell/ui/main.js:162:5
                                                               @resource:///org/gnome/shell/ui/init.js:6:17
fru1tstand commented 2 years ago

+1 for me. Is there something I can do to help the debugging?

mzur commented 2 years ago

Which OS/distro, GNOME Shell version and extension version do you use?

stollem commented 2 years ago

For me it was Debian with Gnome Shell 41.3 and extension version 33. It seems like since I filed this bug, I was updated to gs 42 with wsmatrix 34 and the issue has been resolved as a result.