Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported URI schema in app_icon for desktop notifications #337

Open
jsonmaf1a opened this issue Aug 29, 2024 · 1 comment
Open

Unsupported URI schema in app_icon for desktop notifications #337

jsonmaf1a opened this issue Aug 29, 2024 · 1 comment

Comments

@jsonmaf1a
Copy link

jsonmaf1a commented Aug 29, 2024

Describe the bug

There are at least two ways to send desktop notifications in Tauri apps:

In Cinny, notifications use a URL for the icon, which is received as app_icon by the desktop notification server. However, this is unsupported according to the Freedesktop.org notifications specification. As a result, notifications on Linux are rendered without an icon.

Reproduction

  1. Receive a desktop notification.
  2. Observe that the notification icon is missing.

Expected behavior

Notifications should display an icon.

Platform and versions

1. OS: Arch Linux
2. Cinny version: 4.1.0
3. Matrix homeserver: matrix.org
4. Downloaded from: local build

Additional context

Also, I believe you should try to pass icon as image-path or image-data and not app_icon, and the app_icon should probably be "cinny" or something.
Doing that allows the server to either display the image (if there is one), the icon (if there is no image, as a fallback) or both (for rare servers that support it).

@jsonmaf1a jsonmaf1a closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2024
@jsonmaf1a
Copy link
Author

i need to do some research, so I'll close this issue for a while

@jsonmaf1a jsonmaf1a reopened this Aug 30, 2024
@jsonmaf1a jsonmaf1a changed the title Unsupported URI in app_icon for desktop notifications Unsupported URI schema in app_icon for desktop notifications Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant