Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
34.3.0
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 Pro - 22621.4317
What arch are you using?
x64
Last Known Working Electron version
32.3.2
Expected Behavior
Using Mod+Shift+H
in the attached gist (win.hide()
) does not affect setContentProtection
Actual Behavior
Using Mod+Shift+H
in the attached gist (win.hide()
) clears setContentProtection(true)
and the window becomes capturable again.
Testcase Gist URL
https://gist.github.com/2890703f0159fc18343a2db966749b06
Additional Information
Affects at least since 33.x