Skip to content
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

fix: vibrant window should have transparent background #31493

Merged
merged 1 commit into from Oct 21, 2021

Conversation

codebytere
Copy link
Member

Description of Change

Closes #31461.

Fixes an issue where windows with vibrancy types set on them would incorrectly have a white instead of transparent background. This was caused by changes to defaults in webContents that Chromium performed, which were partially addressed in #30777.

Checklist

Release Notes

Notes: Fixed an issue where windows with vibrancy types set on them would incorrectly have a white instead of transparent background.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/15-x-y labels Oct 20, 2021
@codebytere codebytere changed the title fix: vibranct window should have transparent background fix: vibrant window should have transparent background Oct 20, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 20, 2021
Copy link
Member

@samuelmaddock samuelmaddock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Do you know whether the bug also affects win.setVibrancy(type) or is that working as expected?

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 21, 2021
@jkleinsc jkleinsc merged commit 1d0f94f into main Oct 21, 2021
@jkleinsc jkleinsc deleted the fix-vibrancy-transparency branch October 21, 2021 19:53
@release-clerk
Copy link

release-clerk bot commented Oct 21, 2021

Release Notes Persisted

Fixed an issue where windows with vibrancy types set on them would incorrectly have a white instead of transparent background.

@trop
Copy link
Contributor

trop bot commented Oct 21, 2021

I was unable to backport this PR to "15-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Oct 21, 2021

I have automatically backported this PR to "16-x-y", please check out #31537

t57ser pushed a commit to t57ser/electron that referenced this pull request Oct 27, 2021
t57ser pushed a commit to t57ser/electron that referenced this pull request Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Windows with vibrancy have a white background instead of being see-through
5 participants