Open YanDoroshenko opened 3 years ago
I've done a bit of poking around and it seems that left or right mouse click just opens the menu (ignoring the modifiers) while middle click does nothing at all.
I tried all of these on tray icon and nothing work for me :
- ctrl + left-click: start pavucontrol
- middle-click / alt + left-click: toggle mute default sink
- ctrl + middle-click / ctrl + alt + left-click: toggle mute default source
- ctrl + scroll: adjust the default source volume
Think I am also suffering from this issue. Does the tray support activate/secondary activate from status-notifier-item?
I just test again with version 0.8.0 and all is working fine if it is launched with symbolic icons. @Abastro, what is your DE/WM ? Did you tried with another one ?
Okay, let me try and check again
I've just run the code from master and that's what I'm seeing:
New on click:
Old on click:
Plus middle click on the old one works as a mute, while the new one does not react to middle click.
Mouse scroll changes volume on both.
By "old" I mean the Arch Linux package that claims to be 0.8.0 too.
Hm, somehow it works now, even though I did nothing.
OK, updates:
"Old" vs "new" is GtkStatusIcon
vs AppIndicator
, middle click doesn't work on appindicator and logs the following error:
gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Just checked the code. https://github.com/christophgysin/pasystray/blob/master/src/systray_impl.c The appindicator version does not implement anything other than the menu and scroll, it seems. Perhaps that's why it has such dependent behavior, now for me middle click does not work again.
Looks like the essence of the tray button has changed since 0.8.0 and middle mouse click doesn't mute/unmute sound. Is it possible to bring the middle click back? Thanks.