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

Warning on titlebarAppearsTransparent when setting frame: false or titleBarStyle: hidden #12814

Closed
caesarsol opened this issue May 3, 2018 · 24 comments
Labels
2-0-x 5-0-x 6-0-x 6-1-x bug 🪲 platform/macOS status/confirmed A maintainer reproduced the bug or agreed with the feature

Comments

@caesarsol
Copy link

This is still a problem as of 2.0.0, as described in these (now closed) issues: #11150
#11169
#11743

The warning is:

Electron *** WARNING: Textured window <AtomNSWindow: 0x7fe3687673e0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.

Electron version: 2.0.0
Operating system: Mac OS 10.13.4

@welcome
Copy link

welcome bot commented May 3, 2018

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@alanning
Copy link

For a reproduction of this issue, please run the framless-window sample electron app located here:

https://github.com/hokein/electron-sample-apps/tree/master/frameless-window

Reproduction steps:
(assumes yarn already installed)

$ cd ~/tmp
$ git clone https://github.com/hokein/electron-sample-apps
$ cd electron-sample-apps
$ yarn add electron
$ npx electron --version
v2.0.0
$ npx electron frameless-window
2018-05-13 15:07:44.376 Electron[42121:6477918] *** WARNING: Textured window <AtomNSWindow: 0x7fd0f473fa00> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.

@joernroeder
Copy link

any updates on this?

@ckerr ckerr added platform/linux/ubuntu status/confirmed A maintainer reproduced the bug or agreed with the feature labels Jul 22, 2018
@ckerr
Copy link
Member

ckerr commented Jul 22, 2018

Using the test case provided in #12814 (comment) I can confirm this still exists in Electron 2.0.5.

It's also not a Mac-specific issue; I'm also seeing it on Ubuntu Linux

@codebytere
Copy link
Member

This no longer occurs on 3-0-x, I've confirmed with the repro steps!

@Nantris
Copy link
Contributor

Nantris commented Oct 1, 2018

@codebytere I'm still seeing this with Electron@3.0.0 on macOS 10.13.2 with frame: false and all other BrowserWindow options left to defaults.

2018-10-01 18:06:06.072 Electron[39479:673750] *** WARNING: Textured window <AtomNSWindow: 0x7f8594f3c000> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.

Edit: Same warning with Electron@3.0.2 following the steps outlined by @alanning.

@jjshankar
Copy link

Reproducible on Electron 3.0.5 - MacOS High Sierra 10.13.6.

I can still repro this with either of the options: frame :false or titleBarStyle: "hidden"

A previously recommended fix to include backgroundColor: "#fff" did not work.

@codebytere codebytere assigned codebytere and unassigned codebytere Oct 22, 2018
@BinaryMuse BinaryMuse reopened this Oct 22, 2018
@BinaryMuse
Copy link
Contributor

When running an example through Fiddle, even with the latest Electron beta (4.0.0-beta.4), I can reproduce the issue, but as soon as I try to do so with a local debug build off master the issue disappears. Needs some more investigation 🔍

@BinaryMuse
Copy link
Contributor

BinaryMuse commented Oct 23, 2018

On a hunch, I built a release version of Electron (and got my lap nice and toasty) but I'm also unable to reproduce with this. Very strange.

I wonder if this could have something to do with the SDK we link against for release builds? I checked with @MarshallOfSound and we link against 10.12 currently (I'm linking against 10.13).

@wuwb
Copy link

wuwb commented Jan 17, 2019

Reproducible on Electron 4.0.1

@geakstr
Copy link

geakstr commented Feb 4, 2019

Still exists in 4.0.4

@meizikeai
Copy link

Still exists in 4.0.6

@solidgoldpig
Copy link

Still exists in 4.1.0

@cxdy
Copy link

cxdy commented Mar 21, 2019

Not working for me either.

// my window
  window = new BrowserWindow({
    width: 300,
    height: 450,
    show: false,
    frame: false,
    fullscreenable: false,
    webPreferences: {
      backgroundThrottling: false
    }
  })

Software versions:

Electron - v4.16.0
Node - v10.15.1
OS - macOS 10.14.3

@Nantris
Copy link
Contributor

Nantris commented Mar 23, 2019

@cxdy there's no Electron@4.16.0 right now that I'm aware of.

@cxdy
Copy link

cxdy commented Mar 27, 2019

@slapbox that's just the version NPM gave me

@BenjaminHoegh
Copy link

@slapbox that's just the version NPM gave me

NPM gives me v5.0.0 so I'm also confuse, still got the error tho

@varave
Copy link

varave commented May 14, 2019

Still exists in 5.0.1

@limichange
Copy link

Still exists in 5.0.4

@mattpilott
Copy link

5.0.6 too 😔

@mechamogeo
Copy link

v6.0.0 too 😥

@BenjaminHoegh
Copy link

Why are they not fixing this issue!

@varave
Copy link

varave commented Jul 31, 2019

@BenjaminHoegh I think because it is not the highest priority

@zcbenz
Copy link
Member

zcbenz commented Jan 26, 2021

This problem should have been fixed at least for Electron >= 9.

@zcbenz zcbenz closed this as completed Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-0-x 5-0-x 6-0-x 6-1-x bug 🪲 platform/macOS status/confirmed A maintainer reproduced the bug or agreed with the feature
Projects
No open projects
5.0.x
Unsorted Issues
6.1.x
Unsorted Issues
Development

No branches or pull requests