Changing the default alert sound breaks desktop sound theme

Bug #883677 reported by Jay S
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
GNOME Settings Daemon
Won't Fix
Medium
gnome-settings-daemon (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Steps to reproduce:

1) Open a terminal, dconf-editor, and the Sound Configuration window.
2) Navigate to org.gnome.desktop.sound in dconf-editor. The value for the key named "theme-name" should be "ubuntu"
3) In the terminal, run the command:
     /usr/bin/canberra-gtk-play --id="dialog-question"
     You will hear the expected "drum beat" question sound.
4) Click on "Bark" in the Sound Configuration window to change the alert sound.
     a) You will notice that the theme-name in dconf-editor has changed to "_custom"
5) In the terminal, run this command again:
     /usr/bin/canberra-gtk-play --id="dialog-question"
     You will hear no sound and see the message "Failed to play sound: File or data not found"
6) Change the alert sound back to "Default" in the Sound Configuration window.
     a) You will notice that the theme-name in dconf-editor has changed to "freedesktop"
7) In the terminal, run this command again:
     /usr/bin/canberra-gtk-play --id="dialog-question"
     You will hear no sound and see the message "Failed to play sound: File or data not found"

In order to get Ubuntu's sound theme back, you have to manually change the value of theme-name in dconf to "ubuntu".

Expected behavior:

1) When changing alert sound back to "Default," the value of "theme-name" in dconf should revert to "ubuntu", not "freedesktop".
2) When choosing an alert sound other than "Default", users will not reasonably expect that many of their other system sounds will disappear. Only the alert sound itself should change.

More ideally, the selection should be among entire sound *themes*, like the moblin theme which is available in the repos.
---
ApportVersion: 1.23-0ubuntu3
Architecture: i386
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
NonfreeKernelModules: nvidia
Package: gnome-settings-daemon 3.2.0-0ubuntu5
PackageArchitecture: i386
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Tags: oneiric running-unity
Uname: Linux 3.0.0-12-generic-pae i686
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (17 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 883677
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Jay S (topdownjimmy) wrote : Dependencies.txt

apport information

tags: added: apport-collected oneiric running-unity
description: updated
Revision history for this message
Jay S (topdownjimmy) wrote : ProcEnviron.txt

apport information

Revision history for this message
Ahmed Shams (ashams) wrote :

Thanks for the great description.

Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Jay S (topdownjimmy) wrote :

Re: the upstream bug, I would think that GNOME *wants* the sound theme to be "freedesktop" by default. Isn't this Ubuntu-specific?

Revision history for this message
Ahmed Shams (ashams) wrote :

I don't think it's Ubuntu-specific, because it should work even with non-default themes(I think).

Revision history for this message
Juan Duarte (jcd001) wrote :

I have the same issue and changing the theme's name is the cause of it.

Changed in gnome-settings-daemon:
importance: Unknown → Medium
status: Unknown → Incomplete
Changed in gnome-settings-daemon:
status: Incomplete → New
Revision history for this message
Markus Klyver (markusklyver) wrote :

You'll find a solution here: http://askubuntu.com/a/88839.

Revision history for this message
Jay S (topdownjimmy) wrote :

@markusklyver, that's not really a solution, it's just a way to revert the sound theme back to default. I also describe how to do this in the bug description.

Changed in gnome-settings-daemon:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.