Bug 466342

Summary: gnome-sound-properties "Sound capture" test can cause untitled error dialog
Product: [Fedora] Fedora Reporter: Hans Ulrich Niedermann <rhbugs>
Component: control-centerAssignee: Control Center Maintainer <control-center-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bnocera, control-center-maint, jlaska, lpoetter, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-10 09:35:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 465130    

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