[Webkit-unassigned] [Bug 274377] New: [Win] Propagate WM_DPICHANGED from MainWindow to WebView for dynamic scaling on changing deviceScaleFactor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 19 20:58:49 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=274377

            Bug ID: 274377
           Summary: [Win] Propagate WM_DPICHANGED from MainWindow to
                    WebView for dynamic scaling on changing
                    deviceScaleFactor
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kohei.asano at sony.com
                CC: kkinnunen at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240520/67816508/attachment.htm>


More information about the webkit-unassigned mailing list