Skip to content

[Fedora 44 / GNOME 50] Screen recording fails on Wayland – GlobalShortcuts portal requires App ID #2500

Closed

Description

@Waisat

Description

Cap 0.6.0 installs successfully from the official Fedora RPM package, but screen recording fails on Fedora 44 Workstation with GNOME 50 running Wayland.

The standard application (/usr/bin/Cap) launches, but its interface does not display or behave correctly.

The alternative GPUI interface (/usr/bin/cap-gpui) opens successfully and detects the available recording devices.

However, attempting to record the screen fails with the following error:

Portal request failed:
org.freedesktop.portal.Error.NotAllowed:
An app id is required

Additional errors:

clean capture preflight failed
The recording shortcut registration could not be cleaned up safely

Could not restore retained window visibility
error=Window visibility request superseded

Recording UI restoration or Stop cleanup is unconfirmed
error=Window visibility request superseded

Eventually, Cap displays:

Recording cleanup is incomplete:
Window visibility request superseded.
A new recording is blocked.

Expected behavior:

Cap should register its recording shortcuts successfully and start screen recording under GNOME Wayland.

Actual behavior:

Recording fails before capture begins. The recording interface may disappear, and Cap can become stuck in an incomplete cleanup state.

Reproduction

  1. Install the official Cap-0.6.0-1.x86_64.rpm package on Fedora 44.
  2. Launch the application using /usr/bin/cap-gpui.
  3. Select Display as the recording target.
  4. Click the recording/start button.
  5. Observe the An app id is required portal error.
  6. The recording does not start.

Additional troubleshooting performed:

  • Confirmed successful RPM installation and dependency resolution.
  • Confirmed detection of 2 cameras, 3 microphones and 1 display.
  • Tested both the standard Cap executable and GPUI.
  • Launched GPUI directly from the terminal.
  • Created a dedicated .desktop launcher and launched it using gtk-launch Cap-GPUI.
  • GNOME displayed a Global Shortcuts permission dialog for Ctrl+Shift+F9.
  • Accepted the permission request.
  • Restarted Cap and retried recording.
  • The same error persisted.

The behavior suggests an application identification issue when interacting with the GlobalShortcuts portal on Fedora 44 / GNOME 50.

Additional Context

  • Cap version: 0.6.0-1 (official RPM, x86_64)
  • Operating system, version: Fedora Workstation 44, GNOME 50, Wayland
  • Device: Lenovo Yoga Slim 7 14ILL10
  • CPU: Intel Core Ultra 7 258V
  • GPU: Intel Graphics (Lunar Lake), Vulkan
  • xdg-desktop-portal: 1.22.1-1.fc44.x86_64
  • xdg-desktop-portal-gnome: 50.0-1.fc44.x86_64

Relevant application logs:

INFO cap_gpui: main window opened

INFO cap_gpui::main_window:
enumerated capture devices
cameras=2 microphones=3 displays=1 windows=1

INFO cap_gpui::target_overlay:
overlay start pressed target="Display"

ERROR cap_gpui::app_windows:
clean capture preflight failed
error=The recording shortcut registration could not be
cleaned up safely: Portal request failed:
org.freedesktop.portal.Error.NotAllowed:
An app id is required

ERROR cap_gpui::app_windows:
Could not restore retained window visibility
error=Window visibility request superseded

ERROR cap_gpui::app_windows:
Recording UI restoration or Stop cleanup is unconfirmed
error=Window visibility request superseded

I would appreciate a fix that allows Cap to work with Fedora 44's current portal and Wayland security requirements, without downgrading system components or disabling security mechanisms.

Thank you!

Activity

  1. added
    bug
    on Oct 13, 2026
  2. linear commented on Oct 13, 2026

    @linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions