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: ensure child window transparency works #28054

Merged
merged 3 commits into from
Mar 10, 2021
Merged

Conversation

MarshallOfSound
Copy link
Member

Windows opened via window.open and intecepted via setWindowOpenHandler or the new-window event should (a) have the correct background color and (b) that background color should be transparent if specified.

The changes in api_web_contents fix (a) and the changes in web_contents_preferences fix (b).

Notes: Child windows with specified background colors or transpency now work as intended

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Mar 8, 2021
Copy link
Member

@VerteDinde VerteDinde left a comment

Choose a reason for hiding this comment

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

Looks awesome! 🙇‍♀️

Windows opened via window.open and intecepted via setWindowOpenHandler
or the `new-window` event should (a) have the correct background color
and (b) that background color should be transparent if specified.

The changes in api_web_contents fix (a) and the changes in
web_contents_preferences fix (b).

Notes: Child windows with specified background colors or transpency now
work as intended
@zcbenz
Copy link
Member

zcbenz commented Mar 9, 2021

Should this also target 13-x-y?

@MarshallOfSound MarshallOfSound added target/13-x-y semver/patch backwards-compatible bug fixes and removed target/10-x-y labels Mar 9, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Mar 9, 2021
@trop
Copy link
Contributor

trop bot commented Mar 10, 2021

@VerteDinde has manually backported this PR to "12-x-y", please check out #28107

@MarshallOfSound MarshallOfSound merged commit 089ac81 into master Mar 10, 2021
@release-clerk
Copy link

release-clerk bot commented Mar 10, 2021

Release Notes Persisted

Child windows with specified background colors or transpency now work as intended

@MarshallOfSound MarshallOfSound deleted the now-you-dont-see-me branch March 10, 2021 20:44
@trop
Copy link
Contributor

trop bot commented Mar 10, 2021

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

@filiptrplan
Copy link

Any update on 11-x-y? The problem is quite annoying but I don't have the expertise to backport it myself.

@codebytere
Copy link
Member

/trop run backport-to 11-x-y

@trop
Copy link
Contributor

trop bot commented Apr 22, 2021

The backport process for this PR has been manually initiated - sending your PR to 11-x-y!

@trop
Copy link
Contributor

trop bot commented Apr 22, 2021

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

@nornagon
Copy link
Member

Removing needs-manual-bp/11-x-y since 11.x is security fixes only now.

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.

None yet

6 participants