Skip to content

Register host application with desktop portal - #255

Open
City-busz wants to merge 1 commit into
FineFindus:mainfrom
City-busz:register-host-app
Open

City-busz wants to merge 1 commit into
FineFindus:mainfrom
City-busz:register-host-app

Conversation

@City-busz

Copy link
Copy Markdown
Contributor

Register the application with the XDG Desktop Portal before requesting background access or setting up global shortcuts.

Recent versions of xdg-desktop-portal require host applications to register their application ID before using these interfaces. Without this registration, background access requests fail and global shortcut registration returns
"org.freedesktop.portal.Error.NotAllowed: An app id is required".

This fixes background access and global shortcuts when running the application outside Flatpak.

Register the application with the XDG Desktop Portal before
requesting background access or setting up global shortcuts.

Recent versions of xdg-desktop-portal require host applications
to register their application ID before using these interfaces.
Without this registration, background access requests fail and
global shortcut registration returns
"org.freedesktop.portal.Error.NotAllowed: An app id is required".

This fixes background access and global shortcuts when running
the application outside Flatpak.
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

Successfully merging this pull request may close these issues.

1 participant