On Thu, 21 Oct 2021 10:28:30 +0800 Paul Wise <[email protected]> wrote: > Package: gnome-shell-extension-shortcuts > Version: 1.2.1-1 > Severity: important > Usertags: crash > User: [email protected] > Usertags: gnome-shell-41 > File: /usr/share/gnome- shell/extensions/[email protected]/prefs.js > > Now that the extension is compatible with GNOME 41, when > opening the settings dialog, I get a crash dialog instead: > > Error: Type name ShortcutsPrefsWidget is already registered > > Stack trace: > _construct@resource:///org/gnome/gjs/modules/script/_legacy.js:536:31 > wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27 > newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:115:21 > @/usr/share/gnome- shell/extensions/[email protected]/prefs.js:62:30 > _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:20 6:33 > OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/ext ensionsService.js:122:28 > asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:1 15: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 > > -- System Information: > Debian Release: bookworm/sid > APT prefers testing-debug > APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates-debug'), (860, 'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd- experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.14.0-3-amd64 (SMP w/8 CPU threads) > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages gnome-shell-extension-shortcuts depends on: > ii gnome-shell 41.0-2 > > gnome-shell-extension-shortcuts recommends no packages. > > gnome-shell-extension-shortcuts suggests no packages. > > -- no debconf information > > -- > bye, > pabs > > https://wiki.debian.org/PaulWise
I updated to gnome shell 41 (sid). Still the dialog works. Is really the newest version of the extension used ? ShortcutsPrefsWidget is only used for major version of gnome returns 3 (Config.PACKAGE_VERSION[0] == 3) - which seems to be the case. I dont know why tbh. Greets Chris

