yktoo / indicator-sound-switcher

Sound input/output selector indicator for Linux
https://yktoo.com/en/software/sound-switcher-indicator/
GNU General Public License v3.0
370 stars 29 forks source link

Indicator does not work on Ubuntu 13.10 #2

Closed andrix closed 10 years ago

andrix commented 11 years ago

Hello @yktoo

The indicator has been working like a charm until I have updated to 13.10 and now it stopped to work, it loads on the Unity panel however it does not show me the menu correctly. When I click on it I get (I have enabled the _log method):

.menu_setup()
.pacb_context_notify()
.pacb_context_notify()
.pacb_context_notify()
.pacb_context_notify()
Context connected
.update_server_info()
.pacb_source_info()
.pacb_source_info()
    + Source added: 1; 'alsa_input.pci-0000_00_1b.0.analog-stereo'
.pacb_source_info()
.pacb_source_output_info()
.pacb_sink_info()
    + Sink added: 0; 'alsa_output.pci-0000_00_1b.0.analog-stereo'
.pacb_sink_info()
.pacb_sink_input_info()
    + Sink input added: 12; 'Playback' -> sink 0
.pacb_sink_input_info()
.pacb_server_info()
  -> Activated source item 'alsa_input.pci-0000_00_1b.0.analog-stereo'
  -> Activated sink item 'alsa_output.pci-0000_00_1b.0.analog-stereo'
.pacb_context_success()

(indicator-sound-switcher:11606): LIBDBUSMENU-GLIB-WARNING **: About to Show called on an item wihtout submenus.  We're ignoring it.

I don't have much information to provide, but I can help you to debug/fix if you give me some hint.

yktoo commented 10 years ago

Thanks @andrix for reporting this. Have just installed 13.10 so could have a glance for the first time.

The issue is caused by a dropped Ubuntu-specific patch in GTK, which has affected many indicators (Launchpad bug 1203888). A good solution would be to rewrite the indicator for vanilla Gtk3, which I'm planning to do.

andrix commented 10 years ago

Thanks @yktoo for taking the time :). I see, it's fuckingly annoying that issue, as the indicator is wonderful for me and of very much use as I have more than one sound device that I connect to the PC and switch between.

I do not have much experience with Windowing toolkits, but a lot with Python. I would love to help in some way if you need it.

yktoo commented 10 years ago

Funnily enough, I have very limited experience with both of them, but for simple things like this indicator it's enough. If you have Python experience, maybe you can help me out with bug #1 ? I'll post additional info there.

This issue is fixed, a new package will be built by the Launchpad shortly.