Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Gnome 40 - "Error: No property margin on GtkGrid" #52

Open
catleeball opened this issue Oct 13, 2021 · 2 comments
Open

[Bug] Gnome 40 - "Error: No property margin on GtkGrid" #52

catleeball opened this issue Oct 13, 2021 · 2 comments

Comments

@catleeball
Copy link
Contributor

It looks like Tidal WM doesn't run in Gnome 40. In gnome-shell-extension-prefs, the extension is disabled and shows this stack trace:

The settings of extension tidalwm@rustysec.github.io had an error:
    Error: No property margin on GtkGrid

Stack trace:

_init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:45:40
buildPrefsWidget@/home/cat/.local/share/gnome-shell/extensions/tidalwm@rustysec.github.io/prefs.js:25:18
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

It looks like there's more info and a guide here for porting extensions to Gnome 40 if you find it helpful:

Thanks for making this WM!

@rustysec
Copy link
Owner

Correct, I have not updated for 40 or 41. I haven't had a lot of time, but plan on making updates sometime in the (hopefully) near future.

@humanplayer2
Copy link

humanplayer2 commented Jan 26, 2022

I've played around a bit, and Tidal WM actually works quite well under GNOME 40 already (apart from the settings widget).

To get it running, clone the git as per the readme. Then edit metadata.json and include "40" under shell-version. Restarting Gnome shell then lets you use Tidal with default settings.

To change settings, you can edit /schemas/org.gnome.shell.extensions.tidalwm.gschema.xml to your liking, and once done, recompile it with glib-compile-schemas schemas/ run from the extension folder. Then restart Gnome shell again.

Edit: Ok, it is a bit sketchy. Some windows freeze up after sleep, some times the tiling forgets to enlarge windows alone on a workspace, and once in a while the active window highlight seems to linger after closing e.g. dialogs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants