fffilo / prime-indicator

Intel/NVIDIA GPU Switch
GNU General Public License v3.0
17 stars 3 forks source link

Settings cannot be displayed #13

Open benderl opened 2 years ago

benderl commented 2 years ago

Running Ubuntu 22.04 I cannot open the settings of this extension. Technical details of the error:

The settings of extension prime-indicator@gnome-shell-exstensions.fffilo.github.com had an error:

TypeError: text.replace is not a function

Stack trace:

_labelMarkupFix@/home/lutz/.local/share/gnome-shell/extensions/prime-indicator@gnome-shell-exstensions.fffilo.github.com/libs/prefs/widget.js:222:21
_getMetadataProperty/<@/home/lutz/.local/share/gnome-shell/extensions/prime-indicator@gnome-shell-exstensions.fffilo.github.com/libs/prefs/widget.js:232:60
_getMetadataProperty@/home/lutz/.local/share/gnome-shell/extensions/prime-indicator@gnome-shell-exstensions.fffilo.github.com/libs/prefs/widget.js:232:22
_buildUIAbout@/home/lutz/.local/share/gnome-shell/extensions/prime-indicator@gnome-shell-exstensions.fffilo.github.com/libs/prefs/widget.js:170:57
_buildUI@/home/lutz/.local/share/gnome-shell/extensions/prime-indicator@gnome-shell-exstensions.fffilo.github.com/libs/prefs/widget.js:108:14
Widget@/home/lutz/.local/share/gnome-shell/extensions/prime-indicator@gnome-shell-exstensions.fffilo.github.com/libs/prefs/widget.js:28:14
fillPreferencesWindow@/home/lutz/.local/share/gnome-shell/extensions/prime-indicator@gnome-shell-exstensions.fffilo.github.com/prefs.js:23:5
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:27:29
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
dermanu commented 1 year ago

Same problem here under Ubuntu 22.04 using X11

Nadeem-05 commented 1 year ago

yup same issue here