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

[Bug]: offscreen render set background transparent does not work #32846

Closed
3 tasks done
c-liang opened this issue Feb 10, 2022 · 3 comments · Fixed by #32885
Closed
3 tasks done

[Bug]: offscreen render set background transparent does not work #32846

c-liang opened this issue Feb 10, 2022 · 3 comments · Fixed by #32885
Assignees
Labels

Comments

@c-liang
Copy link

c-liang commented Feb 10, 2022

Preflight Checklist

Electron Version

17.0.0

What operating system are you using?

Windows

Operating System Version

Windows 10 Version 21H1

What arch are you using?

x64

Last Known Working Electron version

14.2.3

Expected Behavior

background should transparent if background is #00000000

Actual Behavior

has a white background

Testcase Gist URL

No response

Additional Information

No response

@mlaurencin
Copy link
Contributor

Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

I have tried creating a gist with your expected behavior, and have not been able to replicate the issue. I'm adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a follow-up comment.

@mlaurencin mlaurencin added the blocked/need-repro Needs a test case to reproduce the bug label Feb 11, 2022
@c-liang
Copy link
Author

c-liang commented Feb 12, 2022

Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

I have tried creating a gist with your expected behavior, and have not been able to replicate the issue. I'm adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a follow-up comment.

https://gist.github.com/c-liang/29850810e9c5892587729d3d64a25761

electron 14.2.3
无标题

electron 17.0.0
无标题1

view image with photoshop,electron 14.2.3 the background is transparent, but with 17.0.0 the background is pure white

@codebytere
Copy link
Member

codebytere commented Feb 14, 2022

@codebytere codebytere self-assigned this Feb 14, 2022
@mlaurencin mlaurencin added has-repro-gist Issue can be reproduced with code at https://gist.github.com/ and removed blocked/need-repro Needs a test case to reproduce the bug labels Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants