Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 678696 - gnome-sound-applet's trayicon lacks icon
gnome-sound-applet's trayicon lacks icon
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: control-center (Show other bugs)
15
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Control Center Maintainer
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F15Target-xfce
  Show dependency treegraph
 
Reported: 2011-02-18 16:55 EST by Christoph Wickert
Modified: 2011-08-16 07:13 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-03-14 14:09:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christoph Wickert 2011-02-18 16:55:20 EST
Description of problem:
When booting the Xfce livecd, the trayicon of gnome-sound-applet lacks an icon. Without looking at the code I don't know which icon it is looking for, so I file this against the Xfce spin for now.

Version-Release number of selected component (if applicable):
xfce-i386-20110217.00 with control-center-2.91.6-8.fc15
Comment 1 Kevin Fenzi 2011-02-19 14:21:41 EST
Looks like it's looking for: 

Icon=multimedia-volume-control

which is in the control-center package, so not sure why it's not showing up. 
I can confirm the same thing here.
Comment 2 Christoph Wickert 2011-02-19 16:48:19 EST
I have no idea what the desktop file is for, but this is not the icon for the trayicon. These icons are not static but depend on the volume.

They are defined in /gnome-control-center-2.91.6/panels/sound/gvc-applet.c

    static const char *output_icon_names[] = {
            "audio-volume-muted-symbolic",
            "audio-volume-low-symbolic",
            "audio-volume-medium-symbolic",
            "audio-volume-high-symbolic",
            NULL
    };

As the *-symbolic icons are only available from gnome-icon-theme-symbolic. control-center should depend on it. Even better: The code should not hardcode the icon *-symbolic icon names and use regular xdg ones instead.

For me this is reason enough to get rid of control-center even if this means we have no mixer in the panel by default. control-center is only pulled in through gnome-bluetooth, we could switch to blueman instead (given that bug 542812 gets fixed).
Comment 3 Christoph Wickert 2011-02-20 15:05:39 EST
Reassigning to control-center. The control-center package needs to require gnome-icon-theme-symbolic. Even better

1. gnome-icon-theme-symbolic should have a virtual provides for something like system-icon-theme-symbolic, that is then required by other packages.

OR

2. the control-center code should not have *-symbolic hardcoded for icon names. Is anybody aware of other icon themes that provide *-symbolic icons
Comment 4 Bastien Nocera 2011-03-14 14:09:08 EDT
(In reply to comment #3)
> Reassigning to control-center. The control-center package needs to require
> gnome-icon-theme-symbolic. Even better

Done.

I think it's probably a good idea for the XFCE desktop to not use the gnome-sound-applet, or any other applets that would require symbolic icons, as even with those icons, I doubt that the XFCE panel knows how to recolour them (this requires using GTK+ 3.x).
Comment 5 Christoph Wickert 2011-03-14 14:28:15 EDT
Thanks.

We are trying our best to avoid gnome-sound-applet but it is part of gnome-control-center which is pulled in for various reasons (gnome-packagekit, gnome-bluetooth...)

How about making /etc/xdg/autostart/gnome-sound-applet.desktop OnlyShowIn=Gnome; ?
Comment 6 Christoph Wickert 2011-08-16 07:13:33 EDT
(In reply to comment #5)
> How about making /etc/xdg/autostart/gnome-sound-applet.desktop
> OnlyShowIn=Gnome; ?

for the record: This was fixed in bug 693548, however it was fixed in an incorrect manner as described in bug 729271.

Note You need to log in before you can comment on or make changes to this bug.