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]: The transparent borderless window display error under win11 #37088

Closed
3 tasks done
fanchenio opened this issue Feb 1, 2023 · 8 comments
Closed
3 tasks done

[Bug]: The transparent borderless window display error under win11 #37088

fanchenio opened this issue Feb 1, 2023 · 8 comments
Labels

Comments

@fanchenio
Copy link

Preflight Checklist

Electron Version

21.4.0

What operating system are you using?

Windows

Operating System Version

Windows11

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

normal display

image

Actual Behavior

The window as a whole becomes transparent, and the picture also becomes transparent.

image

Testcase Gist URL

No response

Additional Information

global.floatingWindow = floatingWindow = new BrowserWindow({ width: 50, height: 50, frame: false, show: false, resizable: false, transparent: true, hasShadow: false, alwaysOnTop: true, opacity: 1, webPreferences: { nodeIntegration: true, contextIsolation: false, devTools: devTools, }, })

@codebytere codebytere added platform/windows blocked/need-repro Needs a test case to reproduce the bug 21-x-y labels Feb 2, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2023

Hello @fanchenio. 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.

Now adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@fanchenio
Copy link
Author

https://gist.github.com/df77e306d69048902b0b60b611a1fa13 @codebytere
It can be displayed normally under win10, but not under win11, and even the picture becomes transparent.

@github-actions github-actions bot removed the blocked/need-repro Needs a test case to reproduce the bug label Feb 8, 2023
@fanchenio
Copy link
Author

The electron 22 version also has this problem.

@fanchenio
Copy link
Author

Is there no one to handle this?

@codebytere
Copy link
Member

This is what i see when i run on Windows 11:

Screenshot 2023-03-14 at 7 21 24 PM

Which seems correct?

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@github-actions github-actions bot added the stale label Jun 13, 2023
@codebytere codebytere added the blocked/need-repro Needs a test case to reproduce the bug label Jun 13, 2023
@github-actions
Copy link
Contributor

Hello @fanchenio. 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.

Now adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@github-actions github-actions bot removed the stale label Jun 14, 2023
@codebytere
Copy link
Member

We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. In this event, i'm going to go ahead and close this but can reopen should you follow up with more info!

@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants