Rayzeq / quick-settings-audio-panel

An gnome shell extension to add a new panel to the Quick Settings for sound related stuff
https://extensions.gnome.org/extension/5940/quick-settings-audio-panel/
GNU General Public License v3.0
80 stars 8 forks source link

Adding labels to input/output sliders? #41

Closed kabe-inc closed 6 months ago

kabe-inc commented 6 months ago

Hi, thanks for this great extension - I have multiple audio devices and it makes it so much easier to switch between them on the fly.

I do have a feature request, though: Would it be possible to add the option of adding a label to the input/output devices so the user can see which ones are active at a glance without having to click the expansion arrows?

I'm imagining something like this:

Screenshot from 2024-05-01 09-42-45

Rayzeq commented 6 months ago

I made this feature and released it as version 47 (gnome 46) and version 48 (gnome 45). I don't plan on releasing a gnome 43/44 version because I believe it's not used a lot anymore, however if you (or anyone else) want it, say it there and I'll make a backport.

kabe-inc commented 6 months ago

I made this feature and released it as version 47 (gnome 46) and version 48 (gnome 45). I don't plan on releasing a gnome 43/44 version because I believe it's not used a lot anymore, however if you (or anyone else) want it, say it there and I'll make a backport.

I am on Gnome 46, though. Is there a toggle option or something I'm missing?

kabe-inc commented 6 months ago

Ok, so there appears to be an issue with the latest release. It seems to be reverting to version 46, for some reason?

What occurred for me

  1. Uninstalled version 46 using Extensions Manager
  2. Flash installed the new zip of version 47 using gnome-extensions install -f quick-settings-audio-panel@rayzeq.github.io.shell-extension.zip
  3. Log out and in again
  4. Get update notification from Extension Manager even though version 47 is confirmed in ~/.local/share/gnome-shell/extensions/quick-settings-audio-panel@rayzeq.github.io/metadata.json
  5. Log out and in again
  6. Extension has reverted back to v46.

I should also note that when v47 was installed, I could see no labels on the devices, nor was there an option in the settings to toggle them on/off.

P.S. I'm on Arch btw.

Rayzeq commented 6 months ago

I did some tests and had the same issue, however I have no idea why, my best guess is that the latest version from gnome's website is considered the latest version, even if the installed version is newer. The only way I've found to “fix” the issue is to uninstall gnome-shell-extension-manager (that's the Ubuntu package name, it's probably different on Arch), but if you're patient, the problem should fix itself when v47 is reviewed on the website (it's usually pretty quick).

The new feature is disabled by default and must be enabled in the settings. It's strange that you didn't see the option, it was present for me when v47 was installed: image

kabe-inc commented 6 months ago

Ok, thanks very much. I'll wait for the update and report back if there any issues.

kabe-inc commented 6 months ago

Hey, just wanted to report back that the update fixed the above issues, so thanks again for that.

There is one thing I ought to mention, though - I am also using the Quicksettings Audio Devices Renamer extension, and was wondering how difficult it would to add cross-compatibility to your extension as well?

Reason being, anyone using both is going to see their custom names used in the sound output list but not on the slider labels:

Screenshot from 2024-05-05 10-48-43

Is that fixable, do you think?

Rayzeq commented 6 months ago

Compatibility added 👍 (in version 49)

kabe-inc commented 6 months ago

Legend!