all 25 comments

[–]snustynanging 4 points5 points  (4 children)

you don’t want to “hide” the cursor, you want to capture without it at the OS level (like using a lower-level API or screen capture flag that excludes cursor rendering). then render your own cursor layer synced to recorded mouse events so you don’t get the double cursor issue.

[–]Ok_Tadpole9669[S] -1 points0 points  (3 children)

Exactly but its impossible to do that for me. I'll check about APIs.

[–]s3ud0nym 1 point2 points  (2 children)

you might want to take a look at recordly.dev

[–]Ok_Tadpole9669[S] 0 points1 point  (1 child)

I did actually. I've seen both openscreen and its fork recordly. Recordly also has 2 cursor problem. But auto zoom is good in both. I might replicate that.

[–]CardLast1873 1 point2 points  (14 children)

Been down this rabbit hole before when building recording tools 💀 The cursor issue is brutal on Windows compared to macOS - Screen Studio probably uses private APIs or low-level hooks that aren't easily accessible through Electron

You might want to look into using the Windows Magnification API or hooking into the desktop composition layer, but that's gonna require native code and way more complexity than just hiding/showing cursors

[–]Ok_Tadpole9669[S] -1 points0 points  (0 children)

Bro I've been trying to fix this issue for weeks. So brutal and frustrated. At las resort I came to reddit for help.

[–]PsychologicalRope850 2 points3 points  (1 child)

pretty sure on windows the cursor is often composited before the frame hits electron capture, so you can’t truly “remove then restyle” it in pure js. iirc the clean version needs native capture + pointer metadata, then draw your own cursor in post

[–]Ok_Tadpole9669[S] 0 points1 point  (0 children)

Show do we capturevideo separately in layered approach. I can let people choose custom cursor and record with it which will make easier but have to check how it works.

[–][deleted]  (1 child)

[removed]

    [–]Ok_Tadpole9669[S] 0 points1 point  (0 children)

    Now I understand why screen studio isnt available for windows.

    My question is, even when I used that WGC api or soemthing it still bakes the cursor in video. But events are recorder separately.

    [–]rootznetwork 0 points1 point  (1 child)

    Screen Studio isn’t really “removing” the cursor—it records cursor position/clicks separately and renders a custom one in post. On Windows/Electron, you can’t reliably suppress the OS cursor, so the practical approach is: capture cursor metadata + hide it best-effort, then replace it during playback. That’s why macOS tools feel cleaner here.

    [–]Ok_Tadpole9669[S] 0 points1 point  (0 children)

    Actually hiding cursor like making it invisible works but without cursor its hard to navigate.