Bug 472037 - No support for notification sound hints
Summary: No support for notification sound hints
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.27.6
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-07 09:49 UTC by Akseli Lahtinen
Modified: 2024-03-08 18:43 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akseli Lahtinen 2023-07-07 09:49:03 UTC
SUMMARY
Applications that want to play sounds with notification hints, for example "sound-name" do not play sound effects.


STEPS TO REPRODUCE
1. Open terminal
2. Run notify-send with a sound hint: notify-send --hint=STRING:sound-file:/usr/share/sounds/Oxygen-Im-New-Mail.ogg eds



OBSERVED RESULT
No sound is played, even sound-file hint is supplied

EXPECTED RESULT
The sound that is given to the notification with the hint should play

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.11-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
See here for the possible notification hints
https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html#hints
Comment 1 Nate Graham 2023-09-13 18:00:06 UTC
Can confirm, though we should move in the direction of specifying sounds by name, not filepath.