Bug 485536 - No KDE Desktop Notification sounds while other sounds still work.
Summary: No KDE Desktop Notification sounds while other sounds still work.
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma-pa
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 6.0.3
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-14 11:10 UTC by Dimitri
Modified: 2024-10-22 13:15 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
System settings says that sound customization are on default (92.23 KB, image/png)
2024-05-03 19:06 UTC, Dimitri
Details
What should and for me has now fixed the bug (133.30 KB, image/png)
2024-10-07 13:06 UTC, Dimitri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri 2024-04-14 11:10:45 UTC
SUMMARY
Applications can still produce sounds as normal while the KDE environment does not produce any sound anymore. Meaning that events like low battery, plugging/unplugging devices, notifications, changing sound volume, errors and others doesn't make any sounds (without deactivating the corresponding sounds).


STEPS TO REPRODUCE
1. Be on Plasma with sound enable.
2. Listen to a sound coming from an application (like a music and video) and make sure you can heard the sound of it. (If you can not heard any sound it means you have an other issue unrelated to this bug.)
3. Now, listen to a sound coming from KDE (like changing the volume, plugging unplugging USB, etc) and find that you hear nothing.
4. Try changing the system sound (System settings > Appearance and style > Color and themes > System sound) and see that none of them can work (None among Océan, Oxygen, FreeDesktop).


OBSERVED RESULT
KDE environment does not produce any sound anymore, while applications still can.


EXPECTED RESULT
KDE should be able to produce sounds depending on various events. Those sounds must be able to be activated, deactivated and customized.


SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-27-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I don't know if this bug come from plasma-pa, pulseaudio-qt or from something else. I can't put multiple possibilities so I have selected "plasma-pa" as product for the bug.

I have deactivated one or two sounds and try changing some of them (don't know if they are all back to default) so I don't know if customization as an effect or is the cause of this issue.
Comment 1 Dimitri 2024-04-15 16:49:33 UTC
Some info :
I do not have "Do not disturb" activated.
I have sounds of notification activated (above audio themes).
The "Front left","Front right" audio test works as normal (I heard those sounds).
Every "theme audio test" and "specific sound use test" (from icons in audio theme and from individual notification audio customization) does not works.
Comment 2 Dimitri 2024-04-15 16:55:10 UTC
My little idea : When I watch where audio files from KDE are, there are a lot of links. Maybe KDE has some difficulty to follow links path or read the sound from them.
Comment 3 Dimitri 2024-05-03 18:51:19 UTC
I have seen another laptop also using KDE neon on the latest version (all available update done except just a grub update because of a bug I didn't succeed to fix) but not having this bug. I don't know what differentiate my computer from this other one.
Comment 4 Dimitri 2024-05-03 19:06:45 UTC
Created attachment 169154 [details]
System settings says that sound customization are on default

It seems that KDE System Settings says that my sound customization are back to default, according to this option (see screenshot). And the bug is still present.
Maybe this just indicate the main sound theme to default, not if some individual sound changes have been made.
Clicking on any of the button of sound theme doesn't produce any sound.
Comment 5 JT Hundley 2024-08-26 23:08:05 UTC
Dilam and I talked about this in the KDE Matrix chat and I was able to reproduce his issue. Here's my report of it in case there is any confusion.

SUMMARY
KDE Connect sound notifications don't work.

STEPS TO REPRODUCE
1. Go to System Settings, Notifications, Application Settings, KDE Connect.
2. Enable and choose a sound for one of the notifications listed, for example "Text Received".
3. Press the play button to test it and see that the sound is properly played.
4. With your phone connected via KDE Connect, receive a text message.

OBSERVED RESULT
The popup notification appears, but no sound is played.

EXPECTED RESULT
I expected the sound I set to play to play and be heard.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-zen1-1-zen
Graphics Platform: Xorg

ADDITIONAL INFORMATION
I think this ticket does have the incorrect category and should be in the KDE notification system instead, I could be wrong.
Comment 6 Noah Davis 2024-09-24 12:59:01 UTC
I can confirm this using JT Hundley's instructions with Plasma 6.2 and setting a sound for "Ping Received". Note that you may need to manually set a sound file to play in order to have one that should play. In any case, the sound does not play.
Comment 7 Ismael Asensio 2024-09-24 13:21:02 UTC
Might be that the "Notification Sounds" channel is muted or very low on the "Audio" settings?

There is also a bug where this slider might not appear on some circumstances, hiding the issue, but in this case it can be activated using pavucontrol:
https://bugs.kde.org/show_bug.cgi?id=482943
Comment 8 Noah Davis 2024-09-24 15:17:04 UTC
(In reply to Ismael Asensio from comment #7)
> Might be that the "Notification Sounds" channel is muted or very low on the
> "Audio" settings?

I have it set to 100%.
Comment 9 Harald Sitter 2024-10-03 23:03:40 UTC
> The popup notification appears, but no sound is played.

I am somewhat certain that the sound setting will only apply on a new login.

It's certainly that way when you have konsole running, then give a sound to active session bell, then hit [Tab] in the open konsole window. Restarting konsole makes the sound play correctly.

Can you make sure this in fact doesn't work after a new login?
Comment 10 JT Hundley 2024-10-03 23:20:01 UTC
My Android KDE Connect app is crashing on launch now, I can't test it. Are you able to test @Dilam?
Comment 11 Dimitri 2024-10-07 12:37:27 UTC
(In reply to Ismael Asensio from comment #7)
> Might be that the "Notification Sounds" channel is muted or very low on the
> "Audio" settings?
> 
> There is also a bug where this slider might not appear on some
> circumstances, hiding the issue, but in this case it can be activated using
> pavucontrol:
> https://bugs.kde.org/show_bug.cgi?id=482943

Yes it was that. "Notification Sounds" was not visible in System settings (when bug reported). But it's currently back. Notifications Sounds was muted. When unmuted, kde sounds works again.
So the issue is fixed on my side !
Comment 12 Dimitri 2024-10-07 12:56:21 UTC
> Yes it was that. "Notification Sounds" was not visible in System settings (when bug reported).
(I don't remember the settings, so maybe the level of Notification Sounds was present but not if being muted.)
At the time of the bug, I am certain to have looked at everything related to sounds in system settings and settings of notifications (all default UI but no terminal commands).
Comment 13 Dimitri 2024-10-07 13:06:30 UTC
Created attachment 174500 [details]
What should and for me has now fixed the bug

I haven't touched at Konsole to fix the bug. I have login again in my computer and it was in settings, don't know yet if it's not present just after the first boot but this is an other issue. When I modify the setting it apply immediately (without having to log in again).

Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: Wayland

If on your side the issue is also immediately fixed when having access to the setting, this bug can be marked as fixed.
Comment 14 Harald Sitter 2024-10-07 13:17:02 UTC Comment hidden (spam)
Comment 15 Harald Sitter 2024-10-07 13:17:24 UTC Comment hidden (spam)
Comment 16 Bug Janitor Service 2024-10-22 03:47:18 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Dimitri 2024-10-22 10:41:55 UTC
The original bug report is fixed (this one was not about KDE connect and was covering more things).
About KDE connect notifications (it should have been an other bug report instead of being mixed with the first). My KDE connect works and I don't receive any sound from this type of notification (when I make the configuration to receive android notification).
On new login, I don't have KDE connect notification's sounds either.

About changing the product of the bug report, I don't find "KDE notificaiton system", "KDEnotif", "Knotif" or "notifications system" in the list of product. This list is absolutely horrible to deal with.
Comment 18 Harald Sitter 2024-10-22 11:41:40 UTC
If there is another bug then please file a separate report.
Comment 19 Dimitri 2024-10-22 13:11:20 UTC
(In reply to Harald Sitter from comment #18)
> If there is another bug then please file a separate report.

I'm renaming this bug to what it was originally.
The second bug has been reported in Bug 492195. So please move to this bug report for KDE connect not making sound.