Skip to content

Global shortcuts portal doesn't support passing xdg-activation token #1678

@ogarai

Description

@ogarai

Operating System

Arch Linux

XDG Desktop Portal version

Other

XDG Desktop Portal version (Other)

1.20.0

Desktop Environment

GNOME

Desktop Environment (Other)

No response

Expected Behavior

There should be a way for apps to receive the activation-token from the global shortcuts portal.

Current Behavior

The Global shortcuts portal added in #711 is yet another way to launch apps.

When launching apps in wayland an xdg-activation token needs to be explicitly set to be able to bring the app window to the foreground.

But there is no support for passing the activation token in the Activated signal for global shortcuts similar to the ActionInvoked signal in the notifications portal.

So invoking an already running app using global shortcuts may not bring its window forward.

cc: @nickdiego

Steps to Reproduce

N/A

Anything else we should know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions