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

[Bug]: Black border is displayed after call to setResizable #31020

Closed
3 tasks done
CezaryKulakowski opened this issue Sep 20, 2021 · 1 comment
Closed
3 tasks done

[Bug]: Black border is displayed after call to setResizable #31020

CezaryKulakowski opened this issue Sep 20, 2021 · 1 comment
Labels

Comments

@CezaryKulakowski
Copy link
Contributor

CezaryKulakowski commented Sep 20, 2021

Preflight Checklist

Electron Version

16.0.0-nightly.20210913

What operating system are you using?

Windows

Operating System Version

Windows 10

What arch are you using?

x64

Last Known Working Electron version

never

Steps to reproduce

  1. Start following app:
const { app, BrowserWindow } = require('electron')

function startTest() {
  const win = new BrowserWindow({});
  win.removeMenu();
  win.setResizable(false);
}

app.on('ready', startTest)
  1. Move the window

Expected Behavior

Resizing is disabled, no black thick border is displayed.

Actual Behavior

Resizing is disabled, but black border is displayed (see screenshot).

Testcase Gist URL

No response

Additional Information

black_border

@CezaryKulakowski
Copy link
Contributor Author

Fix for the issue has been merged into all active versions of Electron.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant