SUMMARY Logout sound is not played on shutdown, when choosen file is .mp3 with spaces in it's filename STEPS TO REPRODUCE 1. Select System Settings->Notifications->Plasma Workspace->Log Out sound, filetype .mp3 with spaces in filename, e.g. "shutdown sound.mp3" 2. Apply settings 3. Initiate Shutdown OBSERVED RESULT No sound played EXPECTED RESULT Sound of logout being played, before shutdown SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro (available in About System) KDE Plasma Version: 5.15 KDE Frameworks Version: ? Qt Version: ? ADDITIONAL INFORMATION Does work in general.
We migrated notifications to use libcanberra which is a low-latency audio library. As such it only supports a limited number of codeces, such as OGG Vorbis.
(In reply to Kai Uwe Broulik from comment #1) > We migrated notifications to use libcanberra which is a low-latency audio > library. As such it only supports a limited number of codeces, such as OGG > Vorbis. Thank you for the information, that solves the mystery. In that case, wouldn't it be user friendly to restrict the selection of filetypes to supported only? This was very confusing, for there is no error and the preview works fine with other codecs.
Agreed: https://phabricator.kde.org/D19806 (The previewer has not yet been ported and still uses Phonon which can load all the codecs)
Git commit 5e2b9c838f3f1a49e7a359a1bd0a087eceb90b10 by Kai Uwe Broulik. Committed on 19/03/2019 at 20:09. Pushed by broulik into branch 'master'. Allow selecting only supported audio files While Phonon could play all the files, libcanberra as a low-latency notification sound library only supports WAV and OGG*. *) I didn't find documentation on this but ca_sound_file_open in libcanberra only has a wav and vorbis handler Differential Revision: https://phabricator.kde.org/D19806 M +2 -0 src/knotifyconfigactionswidget.cpp https://commits.kde.org/knotifyconfig/5e2b9c838f3f1a49e7a359a1bd0a087eceb90b10