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]: titleBarOverlay
prevent dragging the BrowserWindow
#32966
Comments
I have the same problem. Did you find any workaround ? |
I can confirm this issue on Windows 10 19044.1566 and on electron 17.1.0 |
I'm getting this bug as well:
it works fine on macos, and worked for both back in I can confirm that it works fine when // Create the browser window.
const win = new BrowserWindow({
width: 1050,
height: process.platform === 'darwin' ? 700 : 750,
minWidth: 1050,
minHeight: process.platform === 'darwin' ? 700 : 750,
backgroundColor: '#201F1F',
show: false,
titleBarStyle: 'hidden',
titleBarOverlay: {
color: '#0000',
symbolColor: 'white',
height: 40,
},
icon: path.join(__static, 'Icon-512x512.png'),
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
enableRemoteModule: true,
contextIsolation: false,
// Use pluginOptions.nodeIntegration, leave this alone
// See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION,
devTools: config.isDevelopment,
},
}) |
Same issue. Windows 11 Build 22563.1. electron 17.1.0. Double click events are going through fine (Double click to maximize/restore window). Only dragging is affected. |
Same issue here. ^ |
electron |
Having the same problem with 17.1.0 |
Preflight Checklist
Electron Version
17.0.1
What operating system are you using?
Windows
Operating System Version
Windows 11 21H2 (22000.527)
What arch are you using?
x64
Last Known Working Electron version
14.2.5
Expected Behavior
The BrowserWindow should be draggable with
-webkit-app-region: drag
.Actual Behavior
Unable to move the BrowserWindow.
Testcase Gist URL
https://gist.github.com/alefoll/1cd3b68937dad2e73ec04a55df634540
Additional Information
No response
The text was updated successfully, but these errors were encountered: