STEPS TO REPRODUCE 1. cretae a new user account in system settings > users 2. logout 3. start Plasma with your new user account 4. select any file/folder in Dolphin and press shift+del: notification sound plays 5. open settings window of sound applet in system tray, click on "Audio" in the left side, click on "Applications" tab: notice that the volume level of "Notificaton sounds" is set to 0% EXPECTED RESULT Notificaton sound should not play when its volume level is set to 0% SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.74.0 Qt Version: 5.14.2
The issue appears to be that what we display in the KCM does not match PulseAudio's internal volume state for event sounds. When we get notified by PulseAudio about the event sound stream it reports the volume for each channel. However it reports a channel count of 0, so we can't read the volume info from anywhere. This is the same root cause as in https://bugs.kde.org/show_bug.cgi?id=407397, where we work around it by forcing the channel count to 1 for writing the volume. pavucontrol seems to have the same issue
I know what's going on. When the notification sound is played no explicit volume is set, instead it relies on PulseAudio restoring the volume of the previous notification. On a new user there is no such volume saved and some default (I think 100%) is used. It also doesn't save the played volume since PulseAudio does not consider it worth saving since it was never set explicitly (see save_volume in sink-input).
*** Bug 373981 has been marked as a duplicate of this bug. ***
*** Bug 440756 has been marked as a duplicate of this bug. ***
*** Bug 456390 has been marked as a duplicate of this bug. ***
*** Bug 466190 has been marked as a duplicate of this bug. ***
(In reply to Patrick Silva from comment #6) > *** Bug 466190 has been marked as a duplicate of this bug. *** So what is happening with this? It's been around for a long time now. It means that any clean distro installation of plasma has no system sounds. Is there no workaround that can implemented?
(In reply to Barry Jackson from comment #7) > (In reply to Patrick Silva from comment #6) > > *** Bug 466190 has been marked as a duplicate of this bug. *** > > So what is happening with this? It's been around for a long time now. > It means that any clean distro installation of plasma has no system sounds. > Is there no workaround that can implemented? In fact this bug does not appear to be a duplicate of 466190 at all. This (425974) is complaining that the sounds play when the notification level is set to 0%. My report 466190 is complaining that the sounds are not audible 'because' the level defaults to 0%.
(In reply to Barry Jackson from comment #8) > In fact this bug does not appear to be a duplicate of 466190 at all. This > (425974) is complaining that the sounds play when the notification level is > set to 0%. My report 466190 is complaining that the sounds are not audible > 'because' the level defaults to 0%. Feel free to reopen your bug report.
I have created a new user account for test purposes right now. The notification sounds are muted in Audio KCM, Dolphin does not play a notification sound when I try to delete something by pressing shift+del, but System Settings does when save/discard changes dialog shows up. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Graphics Platform: Wayland
This bug persists on Plasma 6 alpha. And the "Notification sounds" slider is missing from Audio KCM in the new account. Operating System: Arch Linux KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0 Graphics Platform: Wayland
Can't reproduce on current master with pipewire-pulse. When I set the notification volume to 0 and reboot/relogin, there remains no notification sound when I Shift+Delete stuff in dolphin or when I change volume; system settings also does not play a sound when the save/discard dialog popup. Are people affected by this all running PulseAudio? Can people still reproduce this?
"Notification sounds" slider is not available in Sound KCM when using a newly created user account for the first time. The slider only appears in the KCM after triggering a notification sound (in Dolphin, for example) and then rebooting. The slider is set to 100%. Tested on Arch Linux running Plasma 6 RC1 and pipewire.
On neon unstable with pulseaudio I need to trigger a notification sound to make the slider to appear in the KCM too, but I do not need to reboot. The notification sound plays even if the slider is set to 0%. Operating System: KDE neon Unstable Edition KDE Plasma Version: 6.0.80 KDE Frameworks Version: 5.249.0 Qt Version: 6.6.1 Graphics Platform: Wayland
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4186
A possibly relevant merge request was started @ https://invent.kde.org/libraries/pulseaudio-qt/-/merge_requests/42
Git commit f24eec054f65b2fa68a93c2972b14c761958da21 by Harald Sitter. Committed on 20/09/2024 at 13:26. Pushed by sitter into branch 'master'. context: always synthesize an event streamrestore doesn't look like this is going to happen upstream in pipewire so let's do it on a library level for convenience reasons. when starting a new user profile there will initially be no stream restores and by extension no event stream control in plasma-pa. to prevent this from happening we now initially create a dummy restore that will eventually be updated into the correct object once the real info arrives. this now also requires that we explicitly reset the restores on errors as otherwise we'd have our synthesized restore but stream restoring in general doesn't work. M +17 -0 src/context.cpp M +1 -0 src/context_p.h https://invent.kde.org/libraries/pulseaudio-qt/-/commit/f24eec054f65b2fa68a93c2972b14c761958da21