ActivateAction calls from clicking on notifications always provide an invalid desktop-startup-id
Software Information:
-
Distro: Fedora Linux 39.20240216.0 (Silverblue)
-
Arch: 64-bit
-
GNOME-version: 45.4
-
Window System: Wayland
-
Kernel Version: Linux 6.7.4-200.fc39.x86_64
-
mutter: 45.4
-
gnome-shell: 45.4
-
xdg-desktop-portal: 1.18.2
-
xdg-desktop-portal-gnome: 45.1
-
Fractal: 6
-
Gtk used by fractal: 4.12.4 (Wayland backend)
Bug summary
When you click on a notification in shell, an ActivateAction
call is made to the application of origin.
However the whilst the action is correctly activated, the application can't raise it's window as the desktop-startup-id
provided by the dbus call is always "_TIME0"
.
Steps to reproduce
- Open Fractal from flathub
- Wait for a notification to appear
- Start monitoring the session bus using bustle
- Click on notification in the notification tray
- Fractal does not present itself
- The
ActivateAction
call sent to Fractal reads:
("show-room", [<("f73f8cad-7f2c-4419-b657-1085d6960f74", "!RfXaBjokqHAbzZrgHz:matrix.org")>], {"desktop-startup-id": <"_TIME0">})
What happened
The desktop-startup-id
sent along with the ActivateAction
dbus call is always "_TIME0"
.
I believe this has a hand in: gtk#5239 (closed)
What did you expect to happen
Provide a desktop-startup-id
or activation-token
that can be used to present an application's window.