SUMMARY KAlarm play audio feature stopped working. STEPS TO REPRODUCE 1. Create a new audio alarm 2. Select the audio file (in my case the audio file is an .opus file, stored in ~/Music) 3. Press "try" OBSERVED RESULT Nothing plays. EXPECTED RESULT The audio file plays SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION KDE Neon 6.0 Graphics Platform: Wayland
The opus file format doesn't seem to be supported by the audio library which KAlarm now uses (libcanberra). This library has replaced the use of Phonon by KAlarm because the way that KAlarm needs to use it (multithreaded) made Phonon unreliable and the source of quite a few bugs. There should be an error message when an audio file can't be played - this needs to be added. The only solution for now for playing an opus file is to convert it to another format for KAlarm to use.
An error message is now displayed when something goes wrong with playing a file. Because user visible (translatable) strings are frozen for KDE Gear 24.02 releases, the message if the audio format is unsupported has had to be set to "file or data corrupt". This message will be improved to mention unsupported format in the KDE Gear 24.05 release, when user visible strings are allowed to be changed. Commit https://invent.kde.org/pim/kalarm/-/commit/768ed33a7e53e19d192885df985532900d815909 in 24.02 branch.
KAlarm has now been converted to use the VLC library to play sound files, which will fix this bug properly. The fix will be in KAlarm version 3.9, which will be in the KDE Gear 24.08 release. Commit https://invent.kde.org/pim/kalarm/-/commit/a3ce5043f2074829156f414cc32075579b3bbf94
Oh my god I just checked Configure Audio Devices page and Notification sounds were muted. Sorry for the false bug report