Preflight Checklist
Electron Version
39.2.6
What operating system(s) are you using?
Windows
Operating System Version
10.0.26200.7462
What arch are you using?
x64
Last Known Working Electron version
38.2.2
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
We expect to be able to resize the window if "resizable: true" is set and this should not depend from the other options like "frame", "transparent", etc.
Actual Behavior
If we specify:
frame: false,
transparent: true,
resizable: true
in BrowserWindowConstructorOptions, the window can't be resized nor resize cursor appears.
Testcase Gist URL
https://gist.github.com/estoykov/5c0f777ce24df8c7c7a204d53ab732cc
Additional Information
May be with this PR #48499 if we create frameless, transparent window it can not be resized, even if we set "resizable: true" in constructor options.
You can use the provided gist to check with the latest stable Electrons and with 38.2.2.
It is just the standard Electron app with few options added:
const mainWindow = new BrowserWindow({
width: 800,
height: 600,
transparent: true,
frame: false,
resizable: true,
backgroundColor: "gray",
webPreferences: {
preload: path.join(__dirname, 'preload.js')
}
})
Preflight Checklist
Electron Version
39.2.6
What operating system(s) are you using?
Windows
Operating System Version
10.0.26200.7462
What arch are you using?
x64
Last Known Working Electron version
38.2.2
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
We expect to be able to resize the window if "resizable: true" is set and this should not depend from the other options like "frame", "transparent", etc.
Actual Behavior
If we specify:
in BrowserWindowConstructorOptions, the window can't be resized nor resize cursor appears.
Testcase Gist URL
https://gist.github.com/estoykov/5c0f777ce24df8c7c7a204d53ab732cc
Additional Information
May be with this PR #48499 if we create frameless, transparent window it can not be resized, even if we set "resizable: true" in constructor options.
You can use the provided gist to check with the latest stable Electrons and with 38.2.2.
It is just the standard Electron app with few options added: