You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: GlobalShortcuts portal registers upstream's app id in the branded .deb and AppImage #2346
libobs/obs-nix-portal-shortcuts.c.h:29 hard-codes #define APP_ID "com.obsproject.Studio". It passes that id to org.freedesktop.host.portal.Registry.Register (line 1002) and stores it as background->app_id (line 1311).
The branded builds set OBS_DESKTOP_ID=io.github.obs_rust.OBSStudioRust (cmake/common/app-identity.cmake). They install io.github.obs_rust.OBSStudioRust.desktop and no com.obsproject.Studio.desktop. So on the .deb and the AppImage, the portal registration names a desktop file that isn't installed.
Expected effect: background global shortcuts fail to register, the log shows [portal] Registering the app id com.obsproject.Studio failed ..., and the hotkeys banner shows AppIdMissing. I haven't reproduced this on a desktop yet.
Fix: take the id from the build's OBS_DESKTOP_ID, using a compile definition on libobs, as frontend/utility/AppIdentity.hpp already does for the frontend. Add a test that a branded build registers io.github.obs_rust.OBSStudioRust and an unbranded one keeps com.obsproject.Studio. Don't edit test/cmocka/test_portal_shortcuts.c.
This is low risk: only the local desktop reaches it.
Activity
zackees commentedon Oct 25, 2026
Claiming.
libobs: Register the build's desktop id with the shortcuts portal (ob…