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 348157 - Changed "Change Device" menu behaviour in gnome-volume-control
Changed "Change Device" menu behaviour in gnome-volume-control
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other All
: Normal normal
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-20 17:10 UTC by Jason Kim
Modified: 2006-09-04 22:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Jason Kim 2006-07-20 17:10:25 UTC
Please describe the problem:
gnome-volume-control shows every audio devices when I choose File > Change Device, even if current login user doesn't have writable permission on some of the audio devices.

With 2.10, it shows only those devices having writable permission.  Has the behaviour of the gnome-volume-control been changed?

This new behaviour causes problems on multi user system. 

Steps to reproduce:
1. connect multiple audio device (I'm using USB devices)
2. change permission and ownership of devices in /dev/snd/ directory
3. Start gnome-volume-control and choose File > Change Device


Actual results:
I can see the all audio devices even if current login user doesn't have permission on some devices.

Expected results:
It should show only those audio devices with proper permission. 2.10 was working as I expected.

Does this happen every time?
yes

Other information:
Comment 1 Tim-Philipp Müller 2006-07-20 17:20:36 UTC
FWIW, this commit might affect that behaviour:

  2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/alsa/gstalsamixerelement.c:
        (gst_alsa_mixer_element_change_state):
          Make state change fail if the specified device can't be opened
          for some reason.

Comment 2 Jason Kim 2006-07-20 18:07:51 UTC
There is a functional problem too.  

I have two audio devices and I can see both of them in Change Device menu.  Whatever I choose in the munu, it controls the volume in one device.
Comment 3 Ronald Bultje 2006-08-25 22:07:30 UTC
Given Tim's comment, this is a gstreamer problem. Tim, if it's fixed, please close this.
Comment 4 Tim-Philipp Müller 2006-08-25 22:25:54 UTC
Jason, any chance you could check whether the problem still exists with the CVS versions of GStreamer core + gst-plugins-base?
Comment 5 Tim-Philipp Müller 2006-09-04 22:08:45 UTC
I'm fairly sure the above change fixed this. Please re-test with CVS or with -base 0.10.10 when it comes out and re-open this bug or file a new bug if the problem still exists.