-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
Comments
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 |
https://gist.github.com/df77e306d69048902b0b60b611a1fa13 @codebytere |
The electron 22 version also has this problem. |
Is there no one to handle this? |
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! |
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 |
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! |
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
Actual Behavior
The window as a whole becomes transparent, and the picture also becomes transparent.
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, }, })
The text was updated successfully, but these errors were encountered: