Bug 345745 - Can't turn off Notification sound
Summary: Can't turn off Notification sound
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.2.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 06:44 UTC by ohmysql
Modified: 2019-08-14 04:33 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ohmysql 2015-04-01 06:44:16 UTC
I cannot remove all system sounds. And, obnoxiously, they crank up the volume to max when they play (or play on a different channel).

Reproducible: Always

Steps to Reproduce:
1. Turn off all sound notifications in notifications under all categories.
2. Create a metadata.desktop file that is inadequate for some reason. This should do:

[Desktop Entry]
Name=RSS Plasmoid
Comment=Shows RSS Feeds
Encoding=UTF-8
Icon=applications-rss
ServiceTypes=Plasma/Applet
Type=Service
3. Double-click on the desktop file and it will beep at you!
Comment 1 echoes91 2015-04-17 16:11:52 UTC
I can confirm this unpleasant behaviour.
plasma-workspace 5.2.2
Arch Linux x86_64
Comment 2 Martin Klapetek 2015-04-17 16:31:28 UTC
Which phonon backend are you using and are you using pulseaudio?
Comment 3 echoes91 2015-04-17 16:34:48 UTC
I am using pulseaudio and same behavior occurs with both vlc and gstreamer backends
Comment 4 Martin Klapetek 2015-04-17 16:41:45 UTC
If you open kmix or pavucontrol, there's a slider for "Event sounds" (or "System sounds" in PA), muting that should mute notification sounds. All of them. At once.
Comment 5 Martin Klapetek 2015-04-17 16:43:35 UTC
Actually I hit enter too soon. This will for sure mute notifications from KF5 applications, I'm not sure about kde4/qt4 ones.
Comment 6 echoes91 2015-04-17 18:03:58 UTC
Actually knotifications looks like a KF5 application (release 5.9.0), although it's not affected by "event sounds". However if I disable notifications from settings they get turned off, at least that's working for me.
Instead if I click on the small button to play the selected notify sound, it raises to volume to 100%, even if system settings is a plasma 5.2.2 application.
I'll try to disable pulseaudio later to see if something changes.
Comment 7 Martin Klapetek 2015-04-21 11:04:47 UTC
Wait, that last comment is a bit confusing.

Do I understand it correctly that if you open the notification settings, select a sound and click the play button next to it, the sound volume is raised to 100%?
Comment 8 echoes91 2015-04-21 18:30:21 UTC
Yes that's correct and unfortunately yesterday's update didn't solve it. At least it should make clear that triggering any notification sound always raises the volume (but doesn't unmute) to 100%, whether automatically or manually it makes no difference.
Comment 9 Achilleas Koutsou 2015-05-21 03:30:08 UTC
I fixed my occurrence of this issue by muting notification sounds for the old (KDE4) system.

Run "kcmshell4 kcmnotify", and in the Player Settings tab, set the volume you want.

I was having this issue too. I muted Event Sounds in Kmix, disabled notification sounds for Plasma Workspace (in Settings > Notification).
While trying to fix another issue though, I noticed that "kcmshell4 --list" has a "kcmnotify" module.
Comment 10 echoes91 2015-06-03 16:48:43 UTC
It was not a KDE bug:

https://forum.sabayon.org/viewtopic.php?f=53&t=31444

It fixes everything for me on both kde4 and plasma 5.3.1
Comment 11 Sandro Knauß 2016-07-22 07:50:40 UTC
I can confirm the problem with debian unstable (plasma 5.6.5.1) and amarok (2.8.0) or kdevelop(4.7.3).

If a warning pops up I hear a loud notification sound instead of nothing. The Notification setting inside kmix is muted, so I expect all notifications to be quiet independent of there framework (qt4 in this case) they use.

As workaround I run "kcmshell4 kcmnotify" to disable all sound for qt4/kde4. 

If you need more informations, please ask.
Comment 12 Sandro Knauß 2016-07-22 07:59:58 UTC
I use pulseaudio.
Comment 13 miklos 2016-10-15 13:08:38 UTC
Actually the problem is not just that volume is turned to 100%. Only the master volume is changed, while the per-application controls stay where they were. Thus, you only hear a loud notification sound, but everything goes on like before, and this state can linger unnoticed for quite a while. Until you start a new application, which will inherit the 100% volume and destroy your ears.
Comment 14 David Edmundson 2016-10-16 09:16:07 UTC
miklos: See comment #10
Comment 15 miklos 2016-10-16 10:21:13 UTC
(In reply to David Edmundson from comment #14)
> miklos: See comment #10

If this is really a pulseaudio bug, then why is only knotification affected?

Anyways, I applied the fix form the Sabayon forums, and now the per-application volumes are 100% by default (instead of being equal to the master), and knotification doesn't mess with the master volume. I guess it still wants to set it to 100% but now it can only change its own per-application volume, which is already at 100%, so it's just avoiding the real bug.

One more thing: the "Event sounds" volume slider doesn't do anything at all, so it can't be used to disable notification sounds, as some people suggested.
Comment 16 postix 2019-07-15 14:04:33 UTC
I can not confirm it on:

Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0

Do you still experience it?
Comment 17 Sandro Knauß 2019-07-15 22:51:50 UTC
I think the issue is about Qt4/KDE4 applications. But nowadays more and more distros remove those completely, that's why it is irrelevant to fix it.

As nobody could reproduce it for 2 years, I would suggest to close this bug soon with in three months, if nobody approve, that it is still an issue.
Comment 18 Bug Janitor Service 2019-07-30 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 19 Bug Janitor Service 2019-08-14 04:33:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!