CapturePreview completion handler only fires when webview visible #579
Labels
bug
Something isn't working
priority-low
We have considered this issue and decided that we will not be able to address it in the near future.
tracked
We are tracking this work internally.
Description
CapturePreview returns S_OK but never calls the CapturePreviewCompletedHandler if:
a) put_IsVisible( FALSE ) has been called on the controller; or
b) WS_VISIBLE wasn't specified on the parent hWnd passed to CreateCoreWebViewController
This causes problems in headless use cases. Workaround is moving window offscreen but this can cause issues with accessibility tools like screen readers.
Version
SDK: 1.0.622.22
Runtime: Release runtime 86.0.622.51
Framework: Win32
OS: Win10 version 1909
Repro Steps
AB#29999309
The text was updated successfully, but these errors were encountered: