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 575093 - dB isn't updated when volume is
dB isn't updated when volume is
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-03-12 15:34 UTC by Bastien Nocera
Modified: 2009-03-12 21:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-media-fix-decibel-tooltip.patch (1.76 KB, patch)
2009-03-12 15:34 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2009-03-12 15:34:11 UTC
The new dB info in the applet isn't available yet when we change the volume (as we change the volume first in gvc-mixer-control, then the decibels).

So we need to listen for dB changes too, otherwise it's always one volume change behind.

See https://bugzilla.redhat.com/show_bug.cgi?id=489297
Comment 1 Bastien Nocera 2009-03-12 15:34:43 UTC
Created attachment 130530 [details] [review]
gnome-media-fix-decibel-tooltip.patch
Comment 2 Bastien Nocera 2009-03-12 21:50:31 UTC
2009-03-12  Bastien Nocera  <hadess@hadess.net>

        * src/gvc-stream-status-icon.c (on_stream_decibel_notify),
        (gvc_stream_status_icon_set_mixer_stream): Also update the 
        tooltip when decibels change, fixes the dB value pretty much
        always being wrong (the code notifies of the changed dB after the 
        changed volume) (Closes: #575093)