Closed pdecat closed 3 years ago
When opening settings on Ubuntu 21.10 current beta with a Gnome on Xorg session, a No property margin_left on GtkLabel error happens.
No property margin_left on GtkLabel
This is with current development head:
# cd ~/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org # git log -n 1 commit a8de0b5c9f2269acdd7020ef3f775e6213245872 (HEAD -> develop, upstream/develop, upstream/HEAD, origin/develop) Author: negesti <clemens@lab21.org> Date: Tue Apr 13 18:02:23 2021 +0200 dont import wnck in 'header'
Settings should open normally.
Trying to open Settings fail:
The settings of extension putWindow@clemens.lab21.org had an error: Error: No property margin_left on GtkLabel Stack trace: _init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:45:40 _generateMainSettings@/home/patrick/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/prefs.js:114:16 wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27 _init@/home/patrick/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/prefs.js:38:27 wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27 buildPrefsWidget@/home/patrick/.local/share/gnome-> shell/extensions/putWindow@clemens.lab21.org/prefs.js:1037:16 _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
The settings of extension putWindow@clemens.lab21.org had an error:
Error: No property margin_left on GtkLabel
Stack trace:
_init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:45:40 _generateMainSettings@/home/patrick/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/prefs.js:114:16 wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27 _init@/home/patrick/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/prefs.js:38:27 wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27 buildPrefsWidget@/home/patrick/.local/share/gnome-> shell/extensions/putWindow@clemens.lab21.org/prefs.js:1037:16 _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 used to work fine on Ubuntu 21.04 with Gnome 3.38.
40.5-1ubuntu2
gnome-shell 40 uses GTK 4 and includes a major rewrite aka. the extension does not work with gnome-shell >= 40 (duplicates #191)
When opening settings on Ubuntu 21.10 current beta with a Gnome on Xorg session, a
No property margin_left on GtkLabel
error happens.This is with current development head:
Expected Behavior
Settings should open normally.
Current Behavior
Trying to open Settings fail:
Possible Solution
Steps to Reproduce (for bugs)
Context
It used to work fine on Ubuntu 21.04 with Gnome 3.38.
Your Environment
40.5-1ubuntu2