I'm running Arch Linux:
$ uname -a
4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux
I just upgraded my packages yesterday, and I noticed that the pavucontrol gui appeared to break. The top menu items crowded together, I lost the vertical scroll bar on the right, and the sliders for volume adjustment disappeared. It was still responsive to mouse and keyboard (click the area of the volume slider, and left/right arrows would adjust).
I noted that the upgraded included gtk3 and gtkmm3, both from versions 3.18 to 3.20. After downgrading to 3.18, the gui is back to normal. Here are screenshots of pavucontrol on both versions:
- 3.18: http://i.imgur.com/zeuT1ov.png
- 3.20: http://i.imgur.com/2MMzsRv.png
Here is an example of the error output I see on 3.20:
(pavucontrol:31786): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:7:37: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(pavucontrol:31786): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:8:37: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(pavucontrol:31786): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:9:31: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version
(pavucontrol:31786): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:68:13: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(pavucontrol:31786): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:69:13: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(pavucontrol:31786): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:69:25: The :insensitive pseudo-class is deprecated. Use :disabled instead.
I tried changing gtk themes, but seemed to affect anything. I haven't noticed any other affected applications.
$ sudo pacman -Q |grep gtk
$ sudo pacman -Q |grep gnome
$ openbox --version
Let me know if further information would be helpful!
According to other discussions in Arch bugtracker (in particular, https://bugs.archlinux.org/task/48853), gtk+3.20 is a busted release. Please rebuild it with this upstream change applied and test whether this resolves the problem for you:
According to the first comment of György Balló (City-busz) in https://bugs.archlinux.org/task/48853 which is in full accordance with my local findings on Arch Linux this is due to using themes which haven't been adjusted to GTK 3.*20* yet.
So the problem doesn't affect pavucontrol and is different from the one discussed in the said Arch Linux issue.
There are two problems really.
1. Themes are not ready for GTK+-3.20. You are right that it looks irrelevant to this bug.
2. Wrong widget resize logic in GTK+-3.20. That's why I mentioned the patch.
Thanks for the prompt reply. I wondered if this was more general, but didn't see any other applications affected. I use Chromium but realize that Firefox won't start for me complaining about a gtk error.
For some reason I couldn't seem to replicate causing pavucontrol to look "ugly" by switching themes. I was just able to with gtk3/gtkmm3 3.20 installed and using lxappearance to change themes, but it required quitting pavucontrol in between changes. Typically I see the changes immediately.
I'm convinced that this is just issues with gtk and themes. Thanks for the quick response and pointing me in the right direction. I'm fine if this is closed.