GNOME Bugzilla – Bug 671446
Two sounds are played when choosing new alert sound after choosing Default
Last modified: 2015-03-16 10:02:00 UTC
Ubuntu 12.04 Beta 1 Unity: System settings -> Hardware -> Sound 1. Open the Sound settings dialog 2. Choose the Sound Effects tab 3. Select 'Default' 4. Select 'Bark' (or any option other than 'Default') You will hear the default sound and the bark sound simultaneously.
What are the version numbers for gnome-settings-daemon and gnome-control-center? Are they still bodging a different theme in there?
gnome-settings 3.3.91 gnome-settings 3.3.91 The theme name shown in org.gnome.desktop.sound is "__custom"
Want to double-check those version numbers? :)
And I bet that the bug is caused by the patch "98_default_sound_theme.patch", as they don't correctly change the default value in gsettings-desktop-schemas". Let me know when you've tested and reproduced the problem with either an unpatched version of the sound panel, or a patched version of gsettings-desktop-schemas.
I didn't check, I will have a look but out this patch we have a gsettings override "[org.gnome.desktop.sound] theme-name = 'ubuntu'" and /etc/gtk-3.0/settings.ini "gtk-sound-theme-name = ubuntu"
I can reproduce the reported problem with gnome-control-center and gnome-settings-daemon at 3.4.1 on Arch Linux, which only lightly patches these packages for better non-systemd support. It already happened with GNOME 3.2 and the problem also occurs with Fedora 17 Beta.
*** Bug 724610 has been marked as a duplicate of this bug. ***
I can reproduce this 100% in g-c-c 3.15.91 on Fedora 22 alpha.
Created attachment 299430 [details] [review] sound: use row-activated to listen to alert sound changes We currently install two signal handlers for button-press-event and selection-changed. As the former also calls the latter, the two interact in non-obvious ways that can lead to two alerts being played at the same time under certain circumstances. Avoid this problem by setting activate-on-single-click on the tree view and listening to the row-activated signal to drive previews and model changes.
Comment on attachment 299430 [details] [review] sound: use row-activated to listen to alert sound changes If that fixes the bug, looks good.
Attachment 299430 [details] pushed as 6137c60 - sound: use row-activated to listen to alert sound changes Thanks, pushed.
Cherry-picked in gnome-3-8 and up, as well.