Bug 466342 - gnome-sound-properties "Sound capture" test can cause untitled error dialog
Summary: gnome-sound-properties "Sound capture" test can cause untitled error dialog
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Control Center Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F10DesktopTarget
TreeView+ depends on / blocked
 
Reported: 2008-10-09 19:52 UTC by Hans Ulrich Niedermann
Modified: 2008-10-10 09:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-10 09:35:19 UTC


Attachments (Terms of Use)

Description Hans Ulrich Niedermann 2008-10-09 19:52:13 UTC
Description of problem:

  I have just produced an error dialog in g-s-p when doing
  the "Sound capture" test for "OSS":

  +------------------------------------------------------+
  |   gconfaudiosrc ! audioconvert ! audioresample !     |
  |   gconfaudiosink profile=chat: Could not open audio  |
  |   device for recording.                              |
  |                                              [Close] |
  +------------------------------------------------------+
  
  Yes, this dialog has no title.

Version-Release number of selected component (if applicable):

  pulseaudio-0.9.13-1.fc10.i386
  control-center-2.24.0.1-4.fc10.i386
  kernel-2.6.27-0.352.rc7.git1.fc10.i686

How reproducible:

  Not any more :-/

Steps to Reproduce:
1. Start gnome-sound-properties
2. For "Sound capture", select "OSS".
3. Click [Test].
  
Actual results:

  Error dialog without title.

Expected results:

  Working sound recording, or at least an error dialog with title.

Additional info:

Comment 1 Hans Ulrich Niedermann 2008-10-09 20:03:15 UTC
OK, the problem can be reproduced after all.

 1. Start gnome-sound-properties
 2. Select "PulseAudio" for "Sound Capture".
 3. Click [Test]. The testing dialog pops up.
 4. Close testing dialog by clicking its [OK] button.
 5. Quickly select "OSS" from drop down list.
 6. Quickly click [Test].
 7. Admire the untitled error dialog described above.

Underlying issue appears to be PA not having released
the device yet, and thus the device cannot be opened again.

That behaviour makes sense, but the untitled dialog
does not.

Comment 2 John Poelstra 2008-10-09 22:07:17 UTC
This bug has been triaged

Comment 3 Bastien Nocera 2008-10-10 08:32:22 UTC
OSS just won't work, why would you expect it to? I'll make sure it doesn't appear in the GNOME prefs anymore.

As for the error dialogue without a title:
http://developer.gnome.org/projects/gup/hig/1.0/windows.html#alert-windows

"
Title Format. Alert windows have no titles, as the title would usually unnecessarily duplicate the alert's primary text. This way, users can read and respond to alerts more quickly as there is less visual noise and confounding text.
"

If it looks rubbish without a title, file a bug against Metacity, it shouldn't be poking at the title of the error message, and it should be correctly parented so we don't have that problem.

Comment 4 Bastien Nocera 2008-10-10 09:35:19 UTC
Removed the OSS options in control-center-2.24.0.1-7.fc10


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