WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
275845
[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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Vitaly Dyackhov
Comment 1
2024-06-25 02:42:36 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/30142
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
Pull request:
https://github.com/WebKit/WebKit/pull/30288
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
<
rdar://problem/130919566
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug