Summary: | .wav files don't play when set as notification sound in gui, but work in notification sound preview | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-knotifications | Reporter: | info |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | REPORTED --- | ||
Severity: | minor | CC: | kde, kdelibs-bugs |
Priority: | NOR | ||
Version: | 5.68.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Included a test .wav file I used to verify the issue. (.wav re-encode of one of the default system sounds) |
Hmm, I thought libcanberra could play wav files. Git commit 4caaf107f1d4f45ff28d0de1b7e7e541e5827e3a by Kai Uwe Broulik. Committed on 18/03/2020 at 13:10. Pushed by broulik into branch 'master'. Use libcanberra as primary means of previewing the sound So it matches what KNotification is doing, especially since Phonon allows playing all sorts of files, which would then end up not being played when the notification is emitted. M +15 -1 CMakeLists.txt M +4 -5 src/CMakeLists.txt M +57 -2 src/knotifyconfigactionswidget.cpp M +8 -1 src/knotifyconfigactionswidget.h https://commits.kde.org/knotifyconfig/4caaf107f1d4f45ff28d0de1b7e7e541e5827e3a With that patch it's at least consistently broken now ;) Kai, libcanberra not being able to play WAV would be an upstream issue, right? |
Created attachment 126862 [details] Included a test .wav file I used to verify the issue. (.wav re-encode of one of the default system sounds) SUMMARY .wav files don't play back when assigned to a notification event. They play in the preview area fine but do nothing when an event is actually triggered. .ogg files work perfectly in both scenarios. STEPS TO REPRODUCE 1. Assign a short .wav file to a notification event using the notifications menu in the settings gui. 2. Note that .wav file plays back correctly when pressing the play preview button. 3. Trigger event with relevant notification. Nothing happens. 4. Re-encode file to .ogg. Assign .ogg file instead of .wav 5. Event sound now works. OBSERVED RESULT Nothing happens when a .wav file is assigned to a notification event and triggered. EXPECTED RESULT The .wav file should play when the event is triggered. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 4.15.0-91-generic / KDE Neon KDE Plasma Version: 5.18.3 KDE Frameworks Version: 5.68.0 Qt Version: 5.14.1 ADDITIONAL INFORMATION Also tested on a different system with the current blank KDE Neon install as of ~March 10.