"Print Screen" throws warning in GDK/Win32 (GetClipboardOwner failed with code 203) - even if window not active!
When using the "Print Screen" key to create a shortcut gtk3 applications throw the following error (here with gtk3 3.24.1-1 from MSYS2 project):
(gtk3-demo.exe:10932): Gdk-WARNING **: 23:20:34.982: gdkdisplay-win32.c:569: GetClipboardOwner failed with code 203: The system could not find the environment option that was entered.
Fortunately the screenshot still seems to be copied to clipboard properly.
However there's also some unsettling behavior:
The warning is also produced if the gtk3 application window is not even focused but only open in background. I assume the application should not even receive, let alone handle messages in this scenario?