Skip to content

[BUG]: Mouse cursor not captured/recognized during screen recording on Hyprland (Wayland) #99

Description

@eduardoaugustolb

Search existing issues

  • I have searched the existing issues

Describe the bug

Description
When recording the screen with OpenScreen, the mouse cursor is not recognized/captured in the recording. The cursor is completely missing from the final video, even though it works normally on the desktop while recording.

Video demonstrating the issue
https://streamable.com/0n3oer

Environment

Steps to Reproduce

  1. Start a screen recording in OpenScreen
  2. Select the screen/output to record
  3. Move the mouse cursor around the screen while recording
  4. Stop the recording
  5. Play back the recording

Expected behavior
The mouse cursor should be visible and follow its actual on-screen position throughout the recording.

Actual behavior
The mouse cursor does not appear in the recording at all, as if it isn't being captured/detected by OpenScreen's capture pipeline.

Additional context
This may be related to how screen capture is currently handled on Linux/Wayland (via xdg-desktop-portal + PipeWire), since embedding the cursor into the captured stream typically requires explicitly requesting cursor mode ("embedded" vs "metadata") from the portal (see ScreenCast portal cursor_mode option). This might not be implemented/enabled yet for the Linux capture path.

Links

Expected behavior

The mouse cursor should be visible in the recorded video and should accurately follow its real-time position on screen throughout the entire recording, the same way it behaves in other screen recording tools on Hyprland (e.g. wf-recorder, OBS Studio).

To Reproduce

No response

Screenshots

No response

OS

Linux

OS Version

No response

Other OS

Hyprland v0.55.4, Wayland v1.25.0-1.1, OpenScreen 1.4.0-1

Browser

Other

Browser Version

No response

Other Browser

Brave

Device Type

Desktop

Other Device

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions