8000 ContentProtection window displayed as a black window during screen capture · Issue #46321 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ContentProtection window displayed as a black window during screen capture #46321
Closed as duplicate of#45990
@oalfroukh

Description

@oalfroukh

Preflight Checklist

Electron Version

34.4.0

What operating system(s) are you using?

Windows

Operating System Version

Windows 11 Pro 23H2 , 24H2

What arch are you using?

x64

Last Known Working Electron version

34.3.0

Expected Behavior

  • Electron window with setContentProtection property should be displayed only on a monitor. Everywhere else, the window does not appear at all during screen capture.
  • Here is a screenshot for the attached gist when we tried to capture the screen with electron v34.3.0 (the protected window not appear at all)
    Image

Actual Behavior

  • Starting from electron v34.3.0 Electron window with setContentProtection property displayed as a black window during screen capture.
  • It seems a side effect for fix: setContentProtection(true) after hide on Windows
  • Here is a screenshot for the attached gist when we tried to capture the screen with electron v34.4.0(the protected window appeared as a black window and it prevented the users from seeing the other apps on that shared screen)

Image

Testcase Gist URL

https://gist.github.com/7c1a70e855c50379e7cf42a06277f71e

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0