We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
16.0.7
Windows
Windows 10, verion 21H2
x64
15.3.4
The size set initially to the BrowserWindow shall be maintained after dragging the BrowserWindow from a scaled display to a non-scaled display
Screenshots of the display settings page:
The test application is the regular 'Electron Hello World' application. Additionally the application shows the BrowserWindow bounds.
Start the test application. The BrowserWindow constructor sets the width to 800 and the height to 600.
const win = new BrowserWindow({ width: 800, height: 600, webPreferences: { preload: path.join(__dirname, 'preload.js') } })
The application shows up on the primary display as follows:
Drag the application onto the secondary display. The size gets now 25% larger (width is 1000, height is 750), which is wrong.
Further dragging the application between the two displays does not change the size anymore (it remains 1000 * 750).
https://gist.github.com/272f5fa1ad5f363acfa1a753f87200ef
No response
The text was updated successfully, but these errors were encountered:
Manually closing as #33231 fixes this issue
Sorry, something went wrong.
mlaurencin
No branches or pull requests
Preflight Checklist
Electron Version
16.0.7
What operating system are you using?
Windows
Operating System Version
Windows 10, verion 21H2
What arch are you using?
x64
Last Known Working Electron version
15.3.4
Expected Behavior
The size set initially to the BrowserWindow shall be maintained after dragging the BrowserWindow from a scaled display to a non-scaled display
Actual Behavior
The test environment includes two diplays:
Screenshots of the display settings page:
Steps to reproduce
The test application is the regular 'Electron Hello World' application.
Additionally the application shows the BrowserWindow bounds.
Start the test application.
The BrowserWindow constructor sets the width to 800 and the height to 600.
The application shows up on the primary display as follows:
Drag the application onto the secondary display.
The size gets now 25% larger (width is 1000, height is 750), which is wrong.
Further dragging the application between the two displays does not change the size anymore (it remains 1000 * 750).
Testcase Gist URL
https://gist.github.com/272f5fa1ad5f363acfa1a753f87200ef
Additional Information
No response
The text was updated successfully, but these errors were encountered: