Open FrayxRulez opened 3 years ago
It also doesn't capture tooltips in both video and image capture. It's also noticeable in many second-party/third-party screenshot utilities like OneDrive's print screen feature but it works fine in the built-in screenshot tool (Windows + Print screen).
I develop a screen recording app and a lot of users are complaining about this behavior, since they expect those menus to be recorded and they usually blame the app itself.
to say, by capturing also windows in the current window subtree
Capturing child windows does not resolve the issue here because UWP flyouts/tooltips and Win32 context menu/tooltips are not child windows, they are their own top-level windows.
Thanks @sylveon, I was pretty sure about UWP ones, but not really about Win32!
There's no documentation and the required windows version is still a preview, but the new https://learn.microsoft.com/en-us/uwp/api/windows.graphics.capture.graphicscapturesession.includesecondarywindows?view=winrt-26100 may help here.
Describe the bug
GraphicsCaptureSession
currently doesn't seem able to capture context menus when selecting a specific window (usingGraphicsCapturePicker
and not interop if this makes a difference) as capture source. Now, it's clear that this happens because context menus are windows on their own, but it would be cool if this issue could be addressed somehow (to say, by capturing also windows in the current window subtree).Steps to reproduce the bug
Steps to reproduce the behavior:
GraphicsCapturePicker
.Expected behavior Context menus are captured by
GraphicsCaptureSession
.Version Info
Additional context