8000 fix: restore previous Windows screenshotting by trop[bot] · Pull Request #47034 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: restore previous Windows screenshotting #47034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

trop[bot]
Copy link
Contributor
@trop trop bot commented May 9, 2025

Backport of #47020

See that PR for details.

Notes: Restored previous window-hiding behavior of win.setContentProtected() on Windows.

Fixes #45990

We previously made a change in #45868
to fix content protection being lost on hide and re-show. However, this
cause a breaking change where protected windows were made opaque black
instead of being hidden as before. This overrides relevant methods in
ElectronDesktopWindowTreeHostWin to restore the previous behavior.
without regressing the original issue.

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@trop trop bot requested review from codebytere and a team May 9, 2025 14:39
@trop trop bot mentioned this pull request May 9, 2025
4 tasks
@trop trop bot added 35-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels May 9, 2025
@ckerr ckerr merged commit f87950a into 35-x-y May 9, 2025
61 checks passed
@ckerr ckerr deleted the trop/35-x-y-bp-fix-restore-previous-windows-screenshotting-1746801516952 branch May 9, 2025 22:47
@release-clerk
Copy link
release-clerk bot commented May 9, 2025

Release Notes Persisted

Restored previous window-hiding behavior of win.setContentProtected() on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
35-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0