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
org.freedesktop.Notifications.ActivationToken support #406
Comments
jsparber
added a commit
to jsparber/xdg-desktop-portal-gtk
that referenced
this issue
Mar 1, 2024
Since [1] FDO notifications can transfer a `ActivateToken` to the client application, we can use this token to set the correct platform data to get wayland startup notification working correctly. GNOME Shell gained the feature already in [2], so this is the last piece missing to get rid of the annoying "<Application> is ready" notifications, when clicking on a notification. We can set the platform data only for actions that are activated via `org.freedesktop.Application`. Fixes: flatpak#406 [1] https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a470004d [2] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3199/
jsparber
added a commit
to jsparber/xdg-desktop-portal-gtk
that referenced
this issue
Mar 2, 2024
Since [1] FDO notifications can transfer a `ActivateToken` to the client application, we can use this token to set the correct platform data to get wayland startup notification working correctly. GNOME Shell gained the feature already in [2], so this is the last piece missing to get rid of the annoying "<Application> is ready" notifications, when clicking on a notification. We can set the platform data only for actions that are activated via `org.freedesktop.Application`. Fixes: flatpak#406 [1] https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a470004d [2] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3199/
jsparber
added a commit
to jsparber/xdg-desktop-portal-gtk
that referenced
this issue
Apr 17, 2024
Since [1] FDO notifications can transfer a `ActivateToken` to the client application, we can use this token to set the correct platform data to get wayland startup notification working correctly. GNOME Shell gained the feature already in [2], so this is the last piece missing to get rid of the annoying "<Application> is ready" notifications, when clicking on a notification. We can set the platform data only for actions that are activated via `org.freedesktop.Application`. Fixes: flatpak#406 [1] https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a470004d [2] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3199/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
org.freedesktop.Notifications spec has ActivationToken signal since a year: https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/43
Would be nice if xdg-desktop-portal-gtk mapped this to
desktop-startup-id
/activation-token
keys of platform_data argument when calling org.freedesktop.Application.Activate{,Action}The text was updated successfully, but these errors were encountered: