pop-os / gnome-shell-extension-system76-power

System76 Power Management Extension
MIT License
90 stars 26 forks source link

Error when waking from sleep/suspend #41

Closed dieggywegz closed 4 years ago

dieggywegz commented 4 years ago

Distribution (run cat /etc/os-release): Pop!_OS 20.04

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

system76-power
1.1.4~1587778238~20.04~08ef39d

Issue/Bug Description: When waking from sleep or suspend, extensions tab and gnome-tweaks always show system76-power as having an error. In order to fix I need to either reboot or reload the shell.

Screenshot from 2020-04-29 11-13-43

Steps to reproduce (if you know): Place computer to sleep/suspend. Then wake the computer.

Expected behavior: No errors.

Other Notes: I've tried checking various things like disabling tlp or changing default mem_sleep but the issue persists.

crawfxrd commented 4 years ago
Apr 29 07:19:50 oryp5 gnome-shell[1459]: JS ERROR: Extension system76-power@system76.com: TypeError: this.bus.destroy is not a function
                                         destroy@/usr/share/gnome-shell/extensions/system76-power@system76.com/extension.js:183:18
                                         disable@/usr/share/gnome-shell/extensions/system76-power@system76.com/extension.js:74:13
                                         _callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:113:32
                                         _disableAllExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:602:22
                                         _disableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:601:52
                                         _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:619:18
                                         _emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
                                         _sync@resource:///org/gnome/shell/ui/sessionMode.js:198:14
                                         pushMode@resource:///org/gnome/shell/ui/sessionMode.js:159:14
                                         activate@resource:///org/gnome/shell/ui/screenShield.js:574:34
                                         lock@resource:///org/gnome/shell/ui/screenShield.js:623:14
                                         _prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:222:22
                                         _emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
                                         _prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:198:14
                                         _emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
                                         _convertToNativeSignal@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:169:19