-
Notifications
You must be signed in to change notification settings - Fork 15k
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
Circular corners in the main window does not work correctly #27264
Comments
Hi, i discovered a partial solution, detecting the screen size and the app window size (to remember the last size, before to be maximazed, and come back to it), then, in the main process, I maximized manually with "BrowserWindow.setSize(Screenwidth, Screenheight)" and "BrowserWindow.setPosition(0, 0)". with this I conclude that there is a bug with electron js when the window is maximized and transparent option remain in true. |
Hi @jgomez109, I am having a bit of trouble reproducing your issue with the code provided. Could you also provide your renderer.js, or wherever you implemented your menu bar button actions? Additionally, do you know the last version of Electron this was working on for you? This would help in narrowing down what could be causing the issue. And if anyone else wants to take a look, here is a repro gist. |
Hi, thanks for answering. The project doesn't have renderer.js file yet. I maximized/minimized the window by double clicking on the bar who has the css property |
Issue Details
Expected Behavior
Window with circular corners
Actual Behavior
When the window is maximized and then minimized, the square and black borders appear.
To Reproduce
Just put in the main.js
trasnparent = true, frame = false
And with html and css create the circular corners (Below I add the code)
Screenshots
Additional Information
Main.js:
index.html:
styles.css:
The text was updated successfully, but these errors were encountered: