Code Monkey home page Code Monkey logo

Comments (3)

normanr avatar normanr commented on July 18, 2024

Unwrapping the original error to make it more readable:

JS ERROR: TypeError: menuInstance is null
_updateMenuVisibility@/home/gsmetal/.local/share/gnome-shell/extensions/[email protected]/extension.js:210:51
enable/<@/home/gsmetal/.local/share/gnome-shell/extensions/[email protected]/extension.js:180:45
_updateVisibility@resource:///org/gnome/shell/ui/status/volume.js:109:9
_maybeShowInput@resource:///org/gnome/shell/ui/status/volume.js:304:14
destroy@/home/gsmetal/.local/share/gnome-shell/extensions/[email protected]/extension.js:125:21
disable@/home/gsmetal/.local/share/gnome-shell/extensions/[email protected]/extension.js:278:38
_callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:123:32
_onEnabledExtensionsChanged/<@resource:///org/gnome/shell/ui/extensionSystem.js:519:45
_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:519:24
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:645:14
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:114:47
_sync@resource:///org/gnome/shell/ui/sessionMode.js:203:14
pushMode@resource:///org/gnome/shell/ui/sessionMode.js:164:14
activate@resource:///org/gnome/shell/ui/screenShield.js:652:34
lock@resource:///org/gnome/shell/ui/screenShield.js:698:14
_prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:284:22
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:114:47
_prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:202:14
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:114:47
_convertToNativeSignal@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:152:19

(note that _updateVisibility has been renamed to _sync in https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/762b4c20664880af30149e7f6a097f68c27adf83 -- which from reading the related bug looks like it could make this extension obsolete \o/)

from gse-sound-output-device-chooser.

normanr avatar normanr commented on July 18, 2024

_signalManager should probably be cleaned up first in SDCInstance.disable() (like VolumeMenuInstance.destroy()), otherwise it will notify _updateMenuVisibility after the menus are destroyed (and the values are already set to null).

from gse-sound-output-device-chooser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.