aleho / gnome-shell-volume-mixer

GNOME Shell Extension allowing separate configuration of PulseAudio devices
https://extensions.gnome.org/extension/858/volume-mixer/
GNU General Public License v2.0
136 stars 32 forks source link

Object St.BoxLayout (0x55e906f84e10), has been already finalized #148

Closed kw-pr closed 2 years ago

kw-pr commented 2 years ago

I got a lot of those errors in /var/log/syslog

Nov 11 11:27:29 gnome-shell[2444]: Object St.BoxLayout (0x55e906f84e10), has been already finalized. Impossible to set any property to it.
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: == Stack trace for context 0x55e905b34340 ==
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: #0 0x55e905ec4cf8 i   resource:///org/gnome/shell/ui/status/volume.js:116 (0x7f11d2725e68 @ 49)
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: #1 0x7ffc1abc5580 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f12280b5de0 @ 71)
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: #2 0x55e905ec4c48 i   resource:///org/gnome/shell/ui/status/volume.js:294 (0x7f11d273b918 @ 259)
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: #3 0x7ffc1abc6160 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f12280b5de0 @ 71)
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: #4 0x55e905ec4bc0 i   /home/user/.local/share/gnome-shell/extensions/shell-volume-mixer@derhofbauer.at/widget/volume.js:424 (0x7f11d2632a28 @ 91)
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: #5 0x7ffc1abc70d0 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f12280b5de0 @ 71)
Nov 11 11:27:29 org.gnome.Shell.desktop[2444]: #6 0x7ffc1abc71a0 b   self-hosted:918 (0x7f12280f12b8 @ 394)

In Ubuntu 18.04.6 LTS. Not sure about the version of gnome-shell-volume-mixer.

aleho commented 2 years ago

Sorry, that's a very old version (3.28 if I'm not mistaken, that's March 2018, more than 3.5 years!).

I cannot support all the possible releases from the past. I'm also not going to upload anything to Gnome extensions.

If you can, update. If not, sorry, I'm afraid this is a wont-fix.

kw-pr commented 2 years ago

Oh, I am sorry. I only clicked install. It does not even shows me a version only "Version: Unknown". No way to know it is outdated. If you don't like to or can updated it maybe you could remove it, or is it not from you at all? https://extensions.gnome.org/extension/858/volume-mixer/

aleho commented 2 years ago

No, that maybe was misleading.

This extension version you're using is about 4 years old. I did upload it to the extensions repo as I was using GNOME 3.28 at some point. Since then there have been 7 GNOME releases. A few of them "broke" the extension and I had to change quite a bit to keep it running.

Supporting all the changed code (with a lot of monkey patching) across 7 versions is practically impossible for me from a technical point of view, so I'd have to maintain, test and develop different versions of this extension for all legacy GNOME releases separately (and I don't even know how to do this on GNOME extensions at all).

For a personal project I'm sharing here and because I'm almost always using the latest GNOME release I really cannot put that much effort into it, sorry.

If someone comes up with a patch I might branch and fix it in this repo, but I'm afraid I won't be able to do anything else.

kw-pr commented 2 years ago

Sure, I totally understand and I did not expect you to fix it at all. I just like to report errors as one of the ways to contribute a little. Thanks to your long explanation I don't see the point in fixing this.

Thank you for this great project and all the effort you put into it!

aleho commented 2 years ago

Thanks for your bug report, though! Much appreciated!