Package: fbpanel
Version: 7.0-4
Severity: normal

Hi,

When run with the default Adwaita icon theme the volume plugin is not visible
on the panel. It doesn't even show a "missing/broken" icon, just blank space,
although the plugin is actually present and active if you can find it.

This is because the icon file names have changed. The old ones the volume
plugin looks for are stock_volume-{max,med,min,mute} but the current names are
audio-volume-{high,medium,low,muted}. Most of the icon themes that I checked
include compatibility symlinks from the old stock_volume- names to the new
ones, but Adwaita does not.

See, for example, /usr/share/icons/*/48x48/status/{stock_,audio-}volume*
It's possible to work around the bug by changing the GTK icon theme.

Arguably this is a bug in Adwaita, but it's a problem for fbpanel because
that's the default theme. I attach a patch to switch to the new icon names,
which fixes the problem for me.

Thanks,

Andrew Kanaber
--- fbpanel-7.0.orig/plugins/volume/volume.c    2020-08-18 00:37:47.839375770 
+0100
+++ fbpanel-7.0/plugins/volume/volume.c 2020-08-18 00:44:26.784359863 +0100
@@ -15,14 +15,14 @@
 #include "dbg.h"
 
 static gchar *names[] = {
-    "stock_volume-min",
-    "stock_volume-med",
-    "stock_volume-max",
+    "audio-volume-low",
+    "audio-volume-medium",
+    "audio-volume-high",
     NULL
 };
 
 static gchar *s_names[] = {
-    "stock_volume-mute",
+    "audio-volume-muted",
     NULL
 };
   

Reply via email to