After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597025 - g-v-c doesn't update UI when device description/icon changes
g-v-c doesn't update UI when device description/icon changes
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: gnome-volume-control
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-01 17:37 UTC by Lennart Poettering
Modified: 2010-04-25 17:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lennart Poettering 2009-10-01 17:37:07 UTC
sink/source description can change dynamically. For example the description of a "module-sink-combine" sink changes depending on the backends it has which changes when plugging/unplugging. 

Another example is module-remap-sink or module-ladspa-sink which changes the description (and icon) when you move it from one backend sink to another backend sink. 

pavucontrol gets the update right, g-v-c currently doesn't.
Comment 1 Bastien Nocera 2009-10-06 17:31:58 UTC
Can I rename other sources/change other icons using pacmd for example?

In short, how would I reproduce this without using one of those plugins?
Comment 2 Lennart Poettering 2009-10-06 17:41:30 UTC
update-sink-proplist in 'pacmd' is your friend:

    update-sink-proplist 2 device.description="foobar"
    update-sink-proplist alsa_output.5.iec958-stereo device.description="waldo"

Or if you are too lazy to figure out the name or index of the sink (as I usually am) you can use a wildcard:

    update-sink-proplist @DEFAULT_SINK@ device.description="All Your Base"

And for the icons use device.icon_name.
Comment 3 Bastien Nocera 2009-10-09 16:16:59 UTC
Fixed the descriptions of sinks and sources not getting updated
(we don't show icons yet, but fixing it would be simple).

Is anything missing?
Comment 4 Tobias Mueller 2010-04-25 17:04:19 UTC
Lennart, closing as FIXED as per last comment. Feel free to reopen.