RESOLVED FIXED275845
[Win] Do not downscale drawingArea size by deviceScaleFactor on resize
https://bugs.webkit.org/show_bug.cgi?id=275845
Summary [Win] Do not downscale drawingArea size by deviceScaleFactor on resize
Vitaly Dyackhov
Reported 2024-06-25 02:39:23 PDT
The `WM_SIZE` message in the Windows API provides the new width and height of the client area in logical pixels, not physical pixels. This means that the size values provided by `WM_SIZE` are already adjusted for the device scale factor on high-DPI screens.
Attachments
WIP patch (1.60 KB, patch)
2024-06-25 13:40 PDT, Fujii Hironori
no flags
Vitaly Dyackhov
Comment 1 2024-06-25 02:42:36 PDT
Fujii Hironori
Comment 2 2024-06-25 13:40:50 PDT
Created attachment 471738 [details] WIP patch Windows WebKit Playwright is still using non-GPU process mode. We have to modify MiniBrowser to use non-GPU process mode in MiniBrowser for testing. This WIP patch fixes the viewport size problem for the non-GPU process mode for me.
Fujii Hironori
Comment 3 2024-06-28 15:23:58 PDT
EWS
Comment 4 2024-07-01 14:02:24 PDT
Committed 280551@main (8d9d0b8a3afe): <https://commits.webkit.org/280551@main> Reviewed commits have been landed. Closing PR #30288 and removing active labels.
Radar WebKit Bug Importer
Comment 5 2024-07-01 14:03:15 PDT
Note You need to log in before you can comment on or make changes to this bug.