Preflight Checklist
Electron Version
42.0.0-beta.6
What operating system(s) are you using?
Windows
Operating System Version
Windows 10
What arch are you using?
x64
Last Known Working Electron version
No response
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
When a window changes its scaling, the resize handle size should grow/shrink with the scaling.
Window opened with 100% scaling has a resize handle of 8px, when changing the scaling to 150% the resize handle should be 12px
Actual Behavior
Electron only gets the resize handle size initially and does not change it anymore. when changing scale the resize handle size does not update
Testcase Gist URL
No response
Additional Information
Probably related: #50706
const int thickness = ::GetSystemMetrics(SM_CXSIZEFRAME) + ::GetSystemMetrics(SM_CXPADDEDBORDER);
Should maybe GetSystemMetricsForDpi be used? with the current dpi of the window to support multi display setups
Preflight Checklist
Electron Version
42.0.0-beta.6
What operating system(s) are you using?
Windows
Operating System Version
Windows 10
What arch are you using?
x64
Last Known Working Electron version
No response
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
When a window changes its scaling, the resize handle size should grow/shrink with the scaling.
Window opened with 100% scaling has a resize handle of 8px, when changing the scaling to 150% the resize handle should be 12px
Actual Behavior
Electron only gets the resize handle size initially and does not change it anymore. when changing scale the resize handle size does not update
Testcase Gist URL
No response
Additional Information
Probably related: #50706
const int thickness = ::GetSystemMetrics(SM_CXSIZEFRAME) + ::GetSystemMetrics(SM_CXPADDEDBORDER);Should maybe GetSystemMetricsForDpi be used? with the current dpi of the window to support multi display setups