Skip to content

Feature Request - Add BrowserSubProcess DpiAwareness Option #2927

@amaitland

Description

@amaitland

Currently the default DPI Awareness is true/PM, this won't suite everyone.

  • Add CefSharpSettings option to allow for a new command line arg to be appended

  • Change default to PerMonitorV2???

  • Both browser process and GPU process (Chrome doesn't appear to worry about render processes) must have a matching awareness.

  • app.manifest setting takes priority over Cef.EnableHighDPISupport();

  • Chrome defaults to PerMonitorV2, we currently use PerMonitor

https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows

UPDATE
Chromium now sets the DPI Awareness to PermonitorV2 by default. You can override this via app.manifest or via programmatic call. #4410

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions