indicator-sound-switcher icon indicating copy to clipboard operation
indicator-sound-switcher copied to clipboard

Slow refresh of menu

Open finsterwalder opened this issue 2 years ago • 13 comments

First of all: Thanks a lot for this wonderful tool! Have been looking for something like this for quite a while! I configured hotkeys to switch my output sources, which works great. But when I execute a hotkey, the menu still shows the old source, even though the system already shows the new output and uses it. When I switch the source via system preferences, the menu is updated immediately. So this only happens when switching via Hotkey.

finsterwalder avatar Jan 06 '22 08:01 finsterwalder

This is weird because the menu selection is controlled by PulseAudio events and is independent of the switching method. So it might be a quirk of your desktop environment.

What are your distro and DE?

Does the problem persist if you restart the indicator? Can you attach the console log (run the indicator with indicator-sound-switcher -vv)?

yktoo avatar Jan 06 '22 10:01 yktoo

When restarting the app, the correct output is marked. But using a hotkey to change the output still does not change the selection.

I did execute this szenario with -vv and attached the output here: indicator-sound-switcher.log .

finsterwalder avatar Jan 06 '22 11:01 finsterwalder

I don't see anything fishy in the log so tend to think it's a bug in your DE.

What are your distro and DE?

yktoo avatar Jan 06 '22 11:01 yktoo

What do you mean by DE? I use plain Ubuntu 20.04.3 LTS with GNOME 3.36.8.

finsterwalder avatar Jan 06 '22 11:01 finsterwalder

DE = desktop environment, Gnome in your case. Well, nothing too bizarre here as I see.

yktoo avatar Jan 06 '22 11:01 yktoo

Is it really slow or the change of selection doesn't happen at all when using a shortcut key?

yktoo avatar Jan 06 '22 11:01 yktoo

It doesn't happen at all actually.

finsterwalder avatar Jan 06 '22 11:01 finsterwalder

Could you check if this is still the case in the latest version?

yktoo avatar Jun 27 '22 08:06 yktoo

I haven't used hotkeys in a while. I also installed a new system in the meantime (Ubuntu 22.04.01 LTS, GNOME Shell 42.2). Now hotkeys don't work at all. I tried to configure hotkeys Ctrl-Alt-1 and Ctrl-Alt-2. But nothing happens, when I hit those Hotkeys. In the log output nothing changes when I hit the hotkey. Seams like the hotkey doesn't even reach the application.

finsterwalder avatar Aug 09 '22 07:08 finsterwalder

@finsterwalder I think it's a wrong thread, you'd better comment in #125

yktoo avatar Aug 09 '22 07:08 yktoo

Yes shortcut binding seams to be broken on my system currently, so I can't currently test, whether this bug is gone or not.

finsterwalder avatar Aug 09 '22 07:08 finsterwalder

After fixing the shortcut-issue I see that the menu changes now. So this bug seams to be fixed.

finsterwalder avatar Aug 09 '22 13:08 finsterwalder

I have to take that back. After starting my computer from suspend today, the menu does not update again when switching sound output source via Hotkey...

finsterwalder avatar Aug 10 '22 07:08 finsterwalder

Is this issue still happening?

yktoo avatar Jun 17 '23 08:06 yktoo

I'm not using Linux anymore, so I can't tell. ;-)

finsterwalder avatar Jun 17 '23 14:06 finsterwalder