electron: titleBarStyle: hidden logs an error
- Electron version: 1.8.2
- Operating system: macOS 10.13.1
Expected behavior
The use of titleBarStyle: hidden should not log an error.
Actual behavior
When using titleBarStyle: hidden, the following error gets logged.
Electron[10655:980586] *** WARNING: Textured window <AtomNSWindow: 0x7fcb0f71bdb0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.
How to reproduce
Set the titleBarStyle of the electron window to hidden.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 12
- Comments: 21 (3 by maintainers)
So why exactly is this still closed?
still have in 5.0.1 latest
@felixrieseberg Is this fix meant to be available in the 2.0 prereleases?
I’ve tried 2.0.0-beta.5 (2343f7c) and still having the same warning message come up when I have
frame: false. No rendering issues, just this warning. Thx!This is still present at 5.0.8. Would love to have this reopened.
Still happens in electron 4.0.1
`
`
I have electron 2.0.8 and still get this error.
I have electron 3.0.2 and still get this error, except that I get it when I set
titleBarStyle: "hiddenInset"+1, still happening on 3.0.6 for us, I agree it should be reopened
Same warning with 2.0.0, when I set
frame: false!Electron 2.0 seems to fix this issue.
Yep, that seems to be all correct - this bug isn’t as fixed as I’d like it to be. I’ll take another crack at it.
same error with v4.0.5
I’m still seeing this (and a small highlight at the top of the window) in Version 4.1.4
for temporary solution, you can use
frame: falseinstead oftitlebarStyle: hidden