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 592326 - g-v-c defaults to 0% for event sounds if no event sound rule is set
g-v-c defaults to 0% for event sounds if no event sound rule is set
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-08-19 12:45 UTC by Lennart Poettering
Modified: 2009-09-10 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lennart Poettering 2009-08-19 12:45:53 UTC
in pa, volume rules are only created when they are needed. If no event sound rule exists while g-v-c starts up it defaults to 0% (even greyed out) for the alert sound level. It should default to 100% instead. pavucontrol gets that right.

To reproduce: remove ~/.pulse/*-stream-volumes.tdb and restart PA.
Comment 1 dedanna1029 2009-08-20 23:26:12 UTC
I have been working with Colin Guthrie on this issue on Mandriva bug #52918 at    https://qa.mandriva.com/show_bug.cgi?id=52918

I do not agree that it should default to 100%. This would blast our ears out not to mention possibly speakers. Suggestion that it should default to a more reasonable level; say 75-80%.

Colin seems to have resolved it to a good degree.
Comment 2 Colin Guthrie 2009-08-20 23:30:47 UTC
Oh I just kick up a fuss, Lennart does the real work :p

FWIW to the gnomes, the mdv bug is mostly related system volume at initial login, the system sounds bit is just a small part. I'll bow out now as I don't really have any thing specific about this bug to contribute and don't want to make it all untidy :p
Comment 3 Lennart Poettering 2009-08-20 23:31:57 UTC
(In reply to comment #1)

> I do not agree that it should default to 100%. This would blast our ears out
> not to mention possibly speakers. Suggestion that it should default to a more
> reasonable level; say 75-80%.

That perecentage is relative to the sink's current native volume, for whatever sink might be selected and for whatever volume might be current for it. And the event sounds should certainly be played at the current volume of the sink and not some arbitrary volume lower than that.
Comment 4 dedanna1029 2009-08-21 15:55:20 UTC
Yes, I get that. I just don't think that value should be defaulting to 100% is all. At any rate, it's irrelevant to this bug.

I don't think what you're experiencing is a gnome-volume-control bug. There are others with the same issue who are on KDE, and also in order to make gnome-volume-control follow, it's the pulseaudio applet-->Volume Control to keep tweaking to get it to the desired volume.

Also, I thought gnome-volume-control was just about completely deprecated by now anyway?
Comment 5 Lennart Poettering 2009-08-21 16:44:48 UTC
(In reply to comment #4)
> Yes, I get that. I just don't think that value should be defaulting to 100% is
> all. At any rate, it's irrelevant to this bug.

Well, I think it should.
 
> I don't think what you're experiencing is a gnome-volume-control bug. There are
> others with the same issue who are on KDE, and also in order to make
> gnome-volume-control follow, it's the pulseaudio applet-->Volume Control to
> keep tweaking to get it to the desired volume.

Uh? Of course this is a bug in g-v-c. It's pretty obvious. And to my knowledge KDE does not offer any PA based volume control at all, so this is not comparable at all to KDE.

> Also, I thought gnome-volume-control was just about completely deprecated by
> now anyway?

Uh? No, absolutely not. g-v-c is the way forward. Not sure how you came to this conclusion.
Comment 6 dedanna1029 2009-08-22 01:56:42 UTC
http://blogs.gnome.org/commitdigest/2008/11/09/issue-5/

"William Jon McCann commited a new volume control using PulseAudio, deprecating the old gst-mixer one."

Unless that's the one you're referring to (the one that uses PulseAudio), then it is indeed deprecated.

AFAIK, KDE still uses Kmix, although I haven't tested it in a while.
Comment 7 Lennart Poettering 2009-08-22 16:12:40 UTC
(In reply to comment #6)
> http://blogs.gnome.org/commitdigest/2008/11/09/issue-5/
> 
> "William Jon McCann commited a new volume control using PulseAudio, deprecating
> the old gst-mixer one."
> 
> Unless that's the one you're referring to (the one that uses PulseAudio), then
> it is indeed deprecated.

Of course I am referring to the PA one, which is the official g-v-c now. And it is not obsolete.
Comment 8 Bastien Nocera 2009-09-10 10:24:09 UTC
commit 4b0e05347315df74de479bb839bde6936a08309d
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Sep 10 11:22:10 2009 +0100

    Bug 592326 - g-v-c defaults to 0% for event sounds if no event sound rule is set
    
    When we don't have any saved volume for the event stream, still create
    the stream after processing the restore.