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 title bar overlay is not updated to fit the settings of the window #32285
Comments
can i contribute to this |
Thanks for reporting this and helping to make Electron better! Because of time constraints, triaging code with third-party dependencies is usually not feasible for a small team like Electron's. 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'm adding the |
I'd very much appreciate a fix of this bug as well. |
Still happening in Electron 19. @codebytere |
Possible (ugly) workaround:
|
hey folks - got around to this, PR is up at #34677 |
@codebytere Still, I do see a related issue:
@codebytere What do you think?
|
Preflight Checklist
Electron Version
16.0.5
What operating system are you using?
Windows
Operating System Version
Windows 11 21H2
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
If a window has the
maximizable
property set tofalse
, the built-in title bar overlay should be updated and the maximise button should be disabled. And if a window has theminimizable
property set tofalse
, the built-in title bar overlay should be updated and the minimise button should be disabled.Actual Behavior
These buttons are still active on the windows that have these properties set to
false
.Main Window (the first one):
maximizable -> true
minimizable -> true
Editor Window (the second one):
maximizable -> true
minimizable -> true
Custom Alert Window (the third one):
maximizable -> false
minimizable -> true
About Window (the fourth one):
maximizable -> false
minimizable -> false
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: