Skip to content

[Bug][Linux/Wayland] Window capture distorts aspect ratio, drops cursor/clicks, and cannot import .cap bundles via portal #2419

Description

@EtherealBless

Description

On Linux (Wayland), screen recording encounters three significant limitations when capturing windows and managing projects:

  1. Aspect Ratio Distortion: Capturing non-16:9 windows (e.g. mobile emulators in 9:16 portrait orientation) forces the stream into monitor bounds, stretching the window horizontally instead of preserving its native dimensions.
  2. Missing Cursor & Click Telemetry: On Wayland, cursor capture stubbed out with empty events (moves: vec![], clicks: vec![]), completely disabling Cap's zoom/click wave features.
  3. Project Import Failure: XDG Desktop Portal FileChooser does not recognize .cap directory bundles as selectable files, entering the folder rather than importing the project.

Reproduction

  1. Run Cap on Linux under a Wayland session (tested on KDE Plasma 6).
  2. Start a Window recording and select any non-16:9 window (e.g. Android Emulator / narrow browser window).
  3. Notice that the resulting recording is stretched to 16:9.
  4. Notice that mouse movements and click ripples are missing from the preview.
  5. In Editor, try to "Add Clip" and pick a .cap recording folder - portal file picker navigates inside instead of selecting the project.

Additional Context

  • Cap version: 0.6+
  • Operating system, version: EndeavourOS / Arch Linux, KDE Plasma 6 (KWin Wayland)

Screenshots

Image

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions