You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Frameless windows show titlebar on blur in Electron 36 #46882
Thanks for the great repro and narrowing it down to the beta where it broke!
@MohabASHRAF-byte Anyone is free to work on any issue. Just open a PR. (The Electron team does not assign issues to non-maintainers. As mentioned before, being assigned is not needed though.)
@Galkon Please don't bump issues unless prompted by the bot. It sends a bunch of notifications, annoys maintainers and doesn't lead to quicker fixes. (Posting this because it's not the only issue I got a bump notification for.)
Experiencing this same issue on Electron > v36.0.0, but can't downgrade to Electron <= v35.x.x because I need "setContentProtection(true);" which was introduced in Electron v36.0.0
The proposed workarounds (changing some window properties on blur and focus) works mostly (with some flashes) but not when the blur is caused by a dialog modal (window blur is not triggered) so the phantom title bar appears and is not removed until the dialog closes.
these changes helped. I did downgrade electron at the end. Kept everything else as is. This is how I initialised my overlay window.
I no longer have the gray title bug.
changes i did to my packages:
"@electron-forge/maker-deb": "^7.8.1",
"@electron-forge/maker-dmg": "^7.8.1",
"@electron-forge/maker-rpm": "^7.8.1",
"@electron-forge/maker-squirrel": "^7.8.1",
"electron": "35.2.1",
...
REMOVED "electron-devtools-installer"
and here is how i initialised my overlay window and no title bar.
overlayWindow = new BrowserWindow({
width: 250,
height: 120,
frame: false,
transparent: true,
hasShadow: false,
alwaysOnTop: true,
skipTaskbar: true,
hiddenInMissionControl: true,
resizable: false,
movable: false,
minimizable: false,
maximizable: false,
closable: false,
focusable: false,
show: false,
webPreferences: {
nodeIntegration: true,
contextIsolation: false, // Same as reference code to avoid tooltip issues
backgroundThrottling: false,
webSecurity: true,
allowRunningInsecureContent: false,
},
backgroundColor: '#00000000',
});
As of 17 july 2025, this is the latest working code and it resolved my issue! So good luck!
DON'T FORGET to RUN npm install after you update your packages haha.
Activity
MohabASHRAF-byte commentedon May 1, 2025
Hello, can I work on this?
nikwen commentedon May 1, 2025
Thanks for the great repro and narrowing it down to the beta where it broke!
@MohabASHRAF-byte Anyone is free to work on any issue. Just open a PR. (The Electron team does not assign issues to non-maintainers. As mentioned before, being assigned is not needed though.)
10 remaining items
nikwen commentedon Jun 14, 2025
@Galkon Please don't bump issues unless prompted by the bot. It sends a bunch of notifications, annoys maintainers and doesn't lead to quicker fixes. (Posting this because it's not the only issue I got a bump notification for.)
okanzi commentedon Jun 18, 2025
Downgrade to 35.2.1 to avoid this issue.
royalsrivastavagithub commentedon Jun 19, 2025
is it still being fixed ?
royalsrivastavagithub commentedon Jun 19, 2025
same here
[Reverted] Electron version 36.5.0 down to 35.2.1
devPablo commentedon Jun 23, 2025
Experiencing this same issue on Electron > v36.0.0, but can't downgrade to Electron <= v35.x.x because I need "setContentProtection(true);" which was introduced in Electron v36.0.0
ButzYung commentedon Jun 24, 2025
This problem still persists in v37.0.0...
lvcabral commentedon Jul 4, 2025
The proposed workarounds (changing some window properties on blur and focus) works mostly (with some flashes) but not when the blur is caused by a dialog modal (window blur is not triggered) so the phantom title bar appears and is not removed until the dialog closes.

steveadr commentedon Jul 10, 2025
Hi guys, the issue still persisted until now....
Any updates from the team?
Thank you, team for being supportive ;)
RushNRX commentedon Jul 14, 2025
would love some input on this! please, anyone?
RushNRX commentedon Jul 16, 2025
I no longer have the gray title bug.
changes i did to my packages:
"@electron-forge/maker-deb": "^7.8.1",
"@electron-forge/maker-dmg": "^7.8.1",
"@electron-forge/maker-rpm": "^7.8.1",
"@electron-forge/maker-squirrel": "^7.8.1",
"electron": "35.2.1",
...
REMOVED "electron-devtools-installer"
and here is how i initialised my overlay window and no title bar.
overlayWindow = new BrowserWindow({
width: 250,
height: 120,
frame: false,
transparent: true,
hasShadow: false,
alwaysOnTop: true,
skipTaskbar: true,
hiddenInMissionControl: true,
resizable: false,
movable: false,
minimizable: false,
maximizable: false,
closable: false,
focusable: false,
show: false,
webPreferences: {
nodeIntegration: true,
contextIsolation: false, // Same as reference code to avoid tooltip issues
backgroundThrottling: false,
webSecurity: true,
allowRunningInsecureContent: false,
},
backgroundColor: '#00000000',
});
As of 17 july 2025, this is the latest working code and it resolved my issue! So good luck!
DON'T FORGET to RUN
npm installafter you update your packages haha.