Zorin Tiling Shell - Something's Gone Wrong error with Settings panel

I cilcked on the tiling shell icon in the system tray and opened the settings. Immediately, the settings app crashes.

I'm using Zorin OS 18

The settings of extension zorin-tiling-shell@zorinos.com had an error:

TypeError: gioSettings.get_strv(...)[0] is undefined

Stack trace:
  fillPreferencesWindow@file:///usr/share/gnome-shell/extensions/zorin-tiling-shell@zorinos.com/prefs.js:621:39
  _loadPrefs@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:41:18
  async*_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:26:14
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:17:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:139:33
  async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

You could try to reinstall the extension

sudo apt install --reinstall gnome-shell-extension-zorin-tiling-shell

If that doesn't help, also reset the user configurations for the zorin tiling shell to default

dconf reset -f /org/gnome/shell/extensions/zorin-tiling-shell/

But this would delete your custom layouts if you have set some. I'm not sure if it can help with that error.

4 Likes

Thanks @Forpli for the hint.

It looks like I had these settings in dconf:

move-window-left=@as []
move-window-right=@as []

And that crashes the app because it expects a populated array, not an empty one. So I updated it to

move-window-left=['']
move-window-right=['']

And now the preferences panel loads without error

2 Likes

Ah, interesting. Now I understand what was meant by “undefined.” Although you get a message when you remove the content from the parentheses in dconf-editor (telling you to add quotation marks), the incorrect setting with the empty parentheses is still saved and then triggers the message "Something's gone wrong" and the extension's settings crashing.

I had never seen that message, and it doesn't happen when you remove the default shortcuts in the GUI of the Zorin tiling shell extension by pressing the backspace. But editing things in dconf-editor isn't always easy, I also had problems at the beginning to find out the right syntax for own custom values.

2 Likes

Indeed, I have been building a "fresh install" doc for myself with shell commands so it's been a lot of learning.

Thanks much for the help!

2 Likes

Interesting. Indeed, you don´t get an error in terminal when you run e.g.

gsettings set org.gnome.shell.extensions.zorin-tiling-shell move-window-left []

But afterwards the Zorin tiling shell extension's settings no longer can be opened.

Usually, the terminal is complaining when setting wrong commands in gsettings, e.g. "The provided value is outside of the valid range", but not here.