Selenium-H / App-Grid-Tweaks

A GNOME Shell extension to tweak application grid and customizations.
GNU General Public License v3.0
23 stars 12 forks source link

gtkVersion.Prefs_AppGridTweaksExtension is not a constructor #19

Open 6707110211 opened 2 years ago

6707110211 commented 2 years ago

TypeError: gtkVersion.Prefs_AppGridTweaksExtension is not a constructor

Stack trace: buildPrefsWidget@/home/logan/.local/share/gnome-shell/extensions/app-grid-tweaks@Selenium-H/prefs.js:19:16 _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44 ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4 OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33 asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22 run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20 main@resource:///org/gnome/Shell/Extensions/js/main.js:22: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

krnlexception commented 2 years ago

still an issue on ubuntu 22.04 lts and gnome 42

Magic-Ludo commented 1 year ago

Because it's experimental, I think there is code for several versions of GTK... I'm on Ubuntu 22.04 with gnome-shell version 42.5 and the following procedure works:

After, you restart gnome-shell: alt+F2, type "r" and pres Enter

guibirow commented 11 months ago

Rename "perfs.js to "perfs_old.js" Rename "perfsGtk4.js" to "perfs.js"

I can confirm it does solve the issue, the only down side is, I had to logoff and login again to take effect, the shortcut alt+F2, type "r" and pres Enter didn't do the trick.