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

Make browserWindow of splashScreen transparent #13699

Merged

Conversation

sgraband
Copy link
Contributor

@sgraband sgraband commented May 7, 2024

What it does

Currently an image with a transparent background is rendered with a white background.
image_480
This looks weird and is not the expected behavior when a transparent image is used.
With this change the browserWindow is set to transparent, so that the background is not rendered.
If adoptors want a white background they can simply use an image with a white background (or any other color).

Part of #13410

How to test

Start the example electron application and observe that the splash screen image no longer has a white background.

Follow-ups

Review checklist

Reminder for reviewers

Currently an image with a transparent background is rendered with a white background.
This looks weird and is not the expected behavior when a transparent image is used.
With this change the browserWindow is set to transparent, so that the background is not rendered.
If adoptors want a white background they can simply use an image with a white background (or any other color).
Copy link
Member

@sdirix sdirix left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@JonasHelming JonasHelming merged commit a227791 into eclipse-theia:master May 10, 2024
14 checks passed
@sdirix sdirix deleted the transparent-splash-screen branch May 14, 2024 15:27
@jfaltermeier jfaltermeier added this to the 1.50.0 milestone Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants