Bug 417733 - Sound doesn't work in KAlarm
Summary: Sound doesn't work in KAlarm
Status: RESOLVED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: sound (show other bugs)
Version: 2.11.16
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-16 09:20 UTC by gregor
Modified: 2024-02-25 15:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 24.02.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gregor 2020-02-16 09:20:51 UTC
SUMMARY


STEPS TO REPRODUCE
1. Set sound alarm at specific time.
2. Sound doesn't play.
3. 

OBSERVED RESULT
The alarm is not working. The sound doesn't play. 

EXPECTED RESULT
Sound alarm (file) should play at specified time.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 18.04.4 LTS / 2.11.16-5
(available in About System)
KDE Plasma Version: 5.12.9
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
I tried with .mp3 files and .ogg files. Both of which the application says it supports. 
KDE forums suggested installing libphonon4qt5-4 package which i did along with various gstreamer ones (as suggested by an "Ask Ubuntu" answer). 
If kalarm package needs additional dependencies they should get added upon install or it should at least be suggested to install them.
Comment 1 David Jarvie 2020-02-17 17:36:33 UTC
Did sound work after installing the extra packages?
Comment 2 gregor 2020-02-17 18:37:24 UTC
Sound (.ogg or .mp3 files) does not work even after installing additional packages. 

Additionally i found out that there is no way to spread the columns so you can never see the whole time. But that is another issue and i am not sure if this was done on purpose or not.
Comment 3 David Jarvie 2020-02-17 23:42:11 UTC
Thanks for that information.

Note that package dependencies are the responsibility of distributions, so you should report any missing dependent packages to Kubuntu.

The issue about the time column not being wide enough to display the whole time has been fixed in KAlarm version 2.12.0 (KDE Applications 18.08).
Comment 4 David Jarvie 2020-05-18 18:12:52 UTC
Sound alarms work on my Neon system (which is an Ubuntu derivative, as is Kubuntu). I have the following phonon packages installed:

libphonon4qt5-4
libphonon4qt5-bin
libphonon4qt5experimental4
phonon4qt5
phonon4qt5-backend-vlc

If your system is missing any of these, try installing them and see if it makes a difference.

Just to be sure, can you confirm that sound works on your system when using other applications?
Comment 5 David Jarvie 2024-02-25 15:40:24 UTC
Phonon has now been replaced with libcanberra for playing sound files. This should hopefully be more reliable and resolve this issue.

This fix will be in KAlarm version 3.7.1, which will be released in KDE Gear 24.02.1 (commit dd4bab1a3642c0ec860ffada450d4d41dd85080f).

Unfortunately, because the final Qt5 based KDE Gear release (23.08.5) has now been issued, this fix will not be available for Qt5 based versions of KAlarm.