No notification sound on Linux desktop with Flatpak
Describe the bug
Notification sounds do not play. Not sure if it's a flatpak permission problem, or if cinny just doesn't play any sounds.
Reproduction
- Open Cinny
- Ensure notification sounds are on
- Get a notification from a chat
- Notification does not play sound
Expected behavior
Notifications should play sound when enabled, or if the platform Cinny is being ran on does not support sounds for some reason, Cinny should play it's own sound effect like the web client.
Platform and versions
1. Fedora KDE
2. Cinny 2.2.6
3. My own homeserver, matrix.akselmo.dev
4. Flatpak
Additional context
It's possible the sound effect does not play because of KDE notifications for some reason not listening to sound hints, if this works on other Linux desktops.
Seems if I try new Audio("tauri://localhost/assets/notification-3d932661.ogg").play() in console, I get NotAllowedError
result: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
status: "rejected"
Promise Prototype
catch(rejectionHandler)
constructor: function()
finally()
then(resolvedHandler, rejectionHandler)
Symbol(Symbol.toStringTag): "Promise"
Object Prototype
__defineGetter__(propertyName, getterFunction)
__defineSetter__(propertyName, setterFunction)
__lookupGetter__(propertyName)
__lookupSetter__(propertyName)
constructor: function()
hasOwnProperty(propertyName)
isPrototypeOf(property)
propertyIsEnumerable(propertyName)
toLocaleString()
toString()
valueOf()
Could probably be fixed by updating tauri? https://github.com/tauri-apps/wry/pull/913
I can confirm this issue without any DE present.
Sound from within cinny does work, but notifications don't make a sound.
I'm using i3 window manager with pulseaudio
Same problem with version 3.1.0