WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
274377
[Win] Update intrinsic device scale factor dynamically
https://bugs.webkit.org/show_bug.cgi?id=274377
Summary
[Win] Update intrinsic device scale factor dynamically
Kohei Asano
Reported
2024-05-19 20:58:49 PDT
Rendering with device scale factor for high DPI,
https://bugs.webkit.org/show_bug.cgi?id=196339
, requires re-scaling on dynamic device scale factor changes, e.g. moving a window between different displays. The appropriate winapi message to do this is WM_DPICHANGED, that MainWindow handles on
https://github.com/WebKit/WebKit/blob/d48be59b226a3da86b16e3948e08db42c6637263/Tools/MiniBrowser/win/MainWindow.cpp#L392
. But it couldn't be caught on WebView. We need to propagate WM_DPICHANGED from MainWindow to WebView.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-05-26 20:59:13 PDT
<
rdar://problem/128777848
>
Kohei Asano
Comment 2
2024-06-13 20:46:00 PDT
We noticed it's not necessary to propagate WM_DPICHANGED, we can do on WM_SIZE instead. I renamed title.
Kohei Asano
Comment 3
2024-06-14 00:37:57 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/29810
EWS
Comment 4
2024-06-14 00:58:07 PDT
Committed
280003@main
(50c1741732a3): <
https://commits.webkit.org/280003@main
> Reviewed commits have been landed. Closing PR #29810 and removing active labels.
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