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

Extension Preferences Error: "TypeError: app is undefined" #187

Open
ribeiro-ian opened this issue Feb 25, 2025 · 0 comments
Open

Extension Preferences Error: "TypeError: app is undefined" #187

ribeiro-ian opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ribeiro-ian
Copy link

Extension works but cant change extension preferences (all shown as unset). When I open extension preferences, it shows the message:

The settings of extension mediacontrols@cliffniff.github.com had an error:

TypeError: app is undefined

Stack trace:
  addElements@file:///home/ian/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/helpers/prefs/BlacklistedPlayers.js:56:13
  initPlayers@file:///home/ian/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/helpers/prefs/BlacklistedPlayers.js:33:14
  initWidgets@file:///home/ian/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/prefs.js:196:24
  fillPreferencesWindow@file:///home/ian/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/prefs.js:94:14
  _loadPrefs@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:41:18
  async*_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:26:14
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:17:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:139:33
  async*LaunchExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:126:14
  _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

https://imgur.com/a/jPDLQ2j

  • Distro: Ubuntu 24.04.2 LTS
  • GNOME version 46
  • Extension Version 37

I'm not sure if it has anything to do with it, but it seemed to show error after I reinstalled my firefox, which was blacklisted before reinstallation. I wanna fix it so i can blacklist firefox once again.

@ribeiro-ian ribeiro-ian added the bug Something isn't working label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant