ewlsh/dynamic-panel-transparency

Breaks suspend on Pop!_OS 20.04

Adam-Kadmon opened this issue · 1 comments

Fantastic extension, very nicely executed. Unfortunately, it caused the suspend function on my Lenovo Legion 5i running Pop!_OS 20.04 LTS and Gnome 3.36.4 (gnome-shell --version) to malfunction.

I use an external monitor and when suspending the laptop it would switch between its screen and the monitor a few times. Upon waking the laptop would again flip between screens in an atypical way and then go from "external only" to either "mirror" or "join" (at random). Any and all apps open at suspend would be gone upon wake-up. LibreOffice spreadsheets and documents would recover without any problem upon relaunching.

The problem resolved when I disabled this extension and I was able to reproduce the above behaviour by re-enabling the extension. I've since removed it completely since, nice as it is, it wasn't worth the hassle of having several workspaces worth of work disappear after coming back from lunch.

I hope this helps the author iron out this particular bug!

Same issue here, I'm going to share the log:

Likely crash reason: Jump to an invalid address
Exploitable rating (0-9 scale): 6

User Logs:
--Oct 04 01:49:29  gnome-shell[2780]: Object .MetaWindowActorX11 (0x55ee7cc67dc0), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Oct 04 01:49:29  gnome-shell[2780]: == Stack trace for context 0x55ee784f5130 ==
Oct 04 01:49:29  gnome-shell[2780]: #0   7fff13667db0 b   /home/<user>/.local/share/gnome-shell/extensions/dynamic-panel-transparency@rockon999.github.io/events.js:139 (565c2484970 @ 570)
Oct 04 01:49:29  gnome-shell[2780]: #1   55ee7cffa708 i   /home/<user>/.local/share/gnome-shell/extensions/dynamic-panel-transparency@rockon999.github.io/extension.js:162 (28c4034ed538 @ 27)
Oct 04 01:49:29  gnome-shell[2780]: #2   55ee7cffa630 i   resource:///org/gnome/shell/ui/extensionSystem.js:107 (2f63b01645b0 @ 394)
Oct 04 01:49:29  gnome-shell[2780]: #3   55ee7cffa5a0 i   resource:///org/gnome/shell/ui/extensionSystem.js:615 (2f63b016a808 @ 15)
Oct 04 01:49:29  gnome-shell[2780]: #4   7fff13668bc0 b   self-hosted:266 (139e696794c0 @ 259)
Oct 04 01:49:29  gnome-shell[2780]: #5   55ee7cffa510 i   resource:///org/gnome/shell/ui/extensionSystem.js:614 (2f63b016a790 @ 98)
Oct 04 01:49:29  gnome-shell[2780]: #6   55ee7cffa480 i   resource:///org/gnome/shell/ui/extensionSystem.js:632 (2f63b016a880 @ 82)
Oct 04 01:49:29  gnome-shell[2780]: #7   7fff13669e50 b   self-hosted:1009 (139e6967e970 @ 423)
Oct 04 01:49:29  gnome-shell[2780]: #8   7fff13669f50 b   resource:///org/gnome/gjs/modules/core/_signals.js:133 (28c40342f178 @ 427)
Oct 04 01:49:29  gnome-shell[2780]: #9   7fff1366ae70 b   resource:///org/gnome/shell/ui/sessionMode.js:195 (139e696292e0 @ 286)
Oct 04 01:49:29  gnome-shell[2780]: #10   55ee7cffa220 i   resource:///org/gnome/shell/ui/sessionMode.js:156 (139e69629100 @ 40)
Oct 04 01:49:29  gnome-shell[2780]: #11   55ee7cffa168 i   resource:///org/gnome/shell/ui/screenShield.js:571 (139e696112e0 @ 191)
Oct 04 01:49:29  gnome-shell[2780]: #12   55ee7cffa0a8 i   resource:///org/gnome/shell/ui/screenShield.js:620 (139e69611358 @ 419)
Oct 04 01:49:29  gnome-shell[2780]: #13   55ee7cffa018 i   resource:///org/gnome/shell/ui/screenShield.js:263 (139e69610628 @ 25)