-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
Top of window with "hiddenInset" title bar becomes unresponsive after exiting fullscreen #16418
Comments
We are also seeing this in Tidal update we are working on. |
I have the same problem!!! How Could I fix that?It's really strange |
@javan set the titleBarStyle I just test |
I second that. Using Besides, what I noted is that in fullscreen the window uses an extra-high titlebar, which is normally indicative of websites that go in a "fake fullscreen" mode (I'll just call it that, because something different happens there, but I don't know what). Chrome for some time had used this "thick frame" mode as well. Maybe electron is using the same "fake" fullscreen (that is not used anymore in Chrome) as well and that's causing the problems? To show what I mean: if you put an app into fullscreen mode, e.g. Chrome, or Safari, and go to the very top with your mouse, you'll see a standard-height titlebar: But compare this to an electron app using The titlebar is twice the size, so it seems to be something that happens with the native Window controller on macOS. I'm not a Swift/Apple native programmer so I wouldn't know where to look, but maybe have a look there? What I also tested and can confirm it does not work:
|
Some updates. I did some digging into what might be the cause.
|
From some testing with fiddle, this appears to have started in |
I'm fairly certain that this was fixed via Chromium upgrade in 5, so i'd proceed with that information in mind. As such, it's unlikely that it'll be backported to 4. |
VSCode just picked up Electron 4 for insider builds. Any chance of backporting this? |
node_modules/.bin/electron --version
: v4.0.1Expected Behavior
The top of the window should continue responding to clicks after exiting from fullscreen.
Actual behavior
The top ~40px stops responding to clicks after exiting from fullscreen.
To Reproduce
Screenshots

Additional Information
This issue is quite similar to #14529.
The text was updated successfully, but these errors were encountered: