-
Notifications
You must be signed in to change notification settings - Fork 193
Description
There seems to be a software-dependent issue with WGC window capture where the user's cursor may disappear when recording certain fullscreen games.
For clarity: this isn't the cursor appearing or not appearing in the recording, this is the actual system cursor becoming invisible within a fullscreen window while WGC is recording it. The same issue does not appear using other recording methods (e.g. DXGI desktop duplication, BitBlt), and enabling/disabling the WGC option to show the cursor in recordings does not seem to change the behaviour.
We've been getting user reports about this for a while (and mercifully one of our QA team can reproduce it), and the OBS project has had reports about the same on their forums for a few years including examples of both window and screen capture suffering from this issue. However, this obviously isn't an across-the-board problem, and myself and several of my colleagues can't reproduce it at all.
So far we've had reports for Minecraft Java Edition and Geometry Dash, which I believe both use OpenGL. We've also had reports on both NVIDIA and AMD GPUs (although we've only seen AMD via user reports so slight grain of salt).
I've built the WPF ScreenCapture sample and sent it to my colleague, and he was able to reproduce the issue. He's on Windows 11 Home 22H2 (22621.3007) with an NVIDIA GPU, but we also have user reports from other Windows 11 versions on builds 22621 and 22631.
Repro steps:
- Start Minecraft Java Edition (he was using 1.20.1)
- Press F11 to fullscreen the game
- Start the ScreenCapture sample
- Click Use Picker and select the Minecraft window
- Click OK
- Note that the system cursor is now invisible whenever it is over the Minecraft window
- Click Stop Recording
- Note that the system cursor is now visible again
I'm not sure if this is a known issue, but it'd be really great to have one of:
- A way to stop this from happening with no user involvement (and a pony too, please!)
- A way to stop this from happening with user involvement
- A way to detect this specific issue is happening (so we can fall back to a different window capture strategy)
- We can try to get the cursor info to detect it being suppressed/not visible, but this is the normal behaviour in some games so it's a bit awkward
I can ask my colleague for more information or to test other scenarios if it'll help. Thanks!