If I create a new project in visual studio using the crossplatform OpenGL template, and then make one slight change to the initialize method to do what I believe is windowed borderless (still windowed but covering the whole screen):
protected override void Initialize()
{
// TODO: Add your initialization logic here
_graphics.HardwareModeSwitch = false;
_graphics.ApplyChanges();
_graphics.ToggleFullScreen();
base.Initialize();
}
It covers the whole screen with cornflower blue as expected. But if I press printscreen while looking at the blue covering my screen, then paste it into Paint, it doesn’t capture the blue screen at all - I just see the visual studio window behind it.
This problem only appears after toggling fullscreen - if I comment that line out, then printscreen captures the window normally.
This problem shows up with other screen capture methods also. If I try to share my screen over Zoom, it can share the blue screen temporarily, but if I click on the window then the screenshare seems to “lose” that window. XBox Game Bar (windows+G) will not allow recording, the “record” button is greyed out and it says “Gaming features aren’t available for the Windows desktop or File Explorer” (which seems to suggest it’s trying to record the desktop itself, not the game window).
Am I missing something? Why would this happen? I’m using Windows 10 with the latest Monogame version.