Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923637 - kde-misc/kclock: Alarm without sound (missing dev-qt/qtmultimedia[gstreamer])
Summary: kde-misc/kclock: Alarm without sound (missing dev-qt/qtmultimedia[gstreamer])
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-02 17:25 UTC by Carlos
Modified: 2024-02-05 21:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos 2024-02-02 17:25:17 UTC
The alarm does not sound, it only shows the notification, doing a little research I discovered that the USE gstreamer is missing from the dev-qt/qtmultimedia package, this corrects the problem.
Comment 1 Andreas Sturmlechner gentoo-dev 2024-02-05 20:15:28 UTC
Maybe you could show the result of your research?
Comment 2 Carlos 2024-02-05 21:54:05 UTC
(In reply to Andreas Sturmlechner from comment #1)
> Maybe you could show the result of your research?

I have run kclockd in terminal, I get the following:

Alarm no sound, timer works fine
dev-qt/qtmultimedia-5.15.12 -gstreamer

    Starting kclockd 23.08.4
    Requesting portal to run in the background and autostart...
    Registered on DBus: true
    PowerDevil found, using it for time tracking.
    Could not get reply from org.freedesktop.portal.Background: "No existe la interfaz «org.freedesktop.portal.Background» en el objeto en la ruta /org/freedesktop/portal/desktop"
    Scheduled alarm wakeup at "lun feb. 5 18:40:00 2024" .
    Received wakeup callback.
    Ringing alarm "Prueba" and sending notification...
    Alarm sound:  QUrl("file:///home/carlos/Música/Varios/01 Pista 1.ogg")
    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"   <-------------------- HERE
    Alarm "Prueba" dismissed

It works well:
dev-qt/qtmultimedia-5.15.12 gstreamer

    Starting kclockd 23.08.4
    Requesting portal to run in the background and autostart...
    Registered on DBus: true
    PowerDevil found, using it for time tracking.
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Could not get reply from org.freedesktop.portal.Background: "No existe la interfaz «org.freedesktop.portal.Background» en el objeto en la ruta /org/freedesktop/portal/desktop"
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Scheduled alarm wakeup at "lun feb. 5 18:29:00 2024" .
    Received wakeup callback.
    Ringing alarm "Prueba" and sending notification...
    Alarm sound:  QUrl("file:///usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga")
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Alarm "Prueba" dismissed
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Alarm "Prueba" dismissed
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Scheduled alarm wakeup at "lun feb. 5 18:30:00 2024" .
    Received wakeup callback.
    Callback ignored (wrong cookie).
    Received wakeup callback.
    Ringing alarm "Prueba" and sending notification...
    Alarm sound:  QUrl("file:///home/carlos/Música/Varios/01 Pista 1.ogg")