MASIGNCLEAN104

DPI scaling improvements in Windows 10

iklan banner

Similar to its before version of Windows, the Creators Update likewise brings a lot of novel features in addition to improvements than only the headline additions. Amongst many, there’s High-dots-per-inch (DPI) scaling improvements introduced. It has been observed that desktop applications tin appear blurred or sized incorrectly when they are made to run on high-DPI display or when using high DPI displays inwards combination amongst standard-DPI display. This is especially noticeable field using remoting technologies such every bit Remote Desktop Protocol (RDP). The high-DPI improvements inwards the Creators Update intend to address these issues.

Similar to its before version of Windows DPI scaling improvements inwards Windows 10

DPI scaling improvements inwards Windows 10

Few of under-the-hood improvements similar high-DPI improvements inwards the Creators Update autumn inwards 2 categories:

  1. Improvements for desktop application developers
  2. Improvements for halt users

The start alter is effected past times introducing a novel capability of automatic per-monitor DPI scaling for desktop UI frameworks. This is done past times adding a novel added a novel awareness context, (DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) which nosotros squall to every bit per-monitor version 2 (PMv2)

PMv2 is technically a DPI_AWARENESS_CONTEXT. It is especially designed to offering per-monitor scaling functionality that was missing from the master copy implementation of per-monitor awareness. This context enables the following:

  1. Child window DPI alter notifications
  2. Scaling of non-client area
  3. Automatic DPI scaling for dialogs
  4. Fine-grained command over dialog scaling

Improvements for halt users intend to brand your life every bit a Windows user meliorate when it comes to using Windows inwards mixed-DPI environments. Some of the improvements that are part of the Creators Update include,

DPI-scaling overrides

There are instances where you lot powerfulness desire to run desktop applications that don’t homecoming good on a high-DPI display. In such cases, you lot powerfulness desire to forcefulness the application to run every bit a DPI-unaware process. This would termination inwards the application existence blurry. So, although blurry, the activity would homecoming an unusable application usable. You tin enable this functionality inwards the .exe properties:

System (enhanced)” DPI scaling

There are applications that resist changes inwards DPI scaling. Microsoft wants to arrive a shine affair. As such, it is looking at ways where Windows tin create this labor of DPI scaling, automatically.

A novel functionality inwards the Creators Update has been introduced which renders text results crisply on high-DPI display for GDI-based apps only. So, for applications that are GDI-based, Windows tin directly DPI scale them on a per-monitor basis. This agency that these applications volition automatically configure themselves to decease per-monitor DPI aware.

Microsoft has enabled GDI scaling past times default for about in-box apps. For example, the Microsoft Management Console (mmc.exe) inwards the Creators Update. This agency that many in-box Windows snap-ins, such every bit Device Manager, volition create goodness from this characteristic inwards the Creators Update.

Other apps that volition create goodness from this capability include,

Internet Explorer

Before the Creators Update, when you lot tried moving Internet Explorer to a display amongst a unlike DPI or otherwise changed the DPI of the display that it was on (docking/undocking/settings change/RDP/etc.) the content of the spider web page you lot were viewing would DPI scale but the app frame would not. This has been overcome inwards windows 10 Creators Update. So now, when you lot run Internet Explorer in addition to Edge, side past times side, on a secondary display amongst 100% display scaling, the primary display volition us a high-DPI scale element in addition to the app windows volition hold upward moved to the low-DPI secondary display.

In the screenshot below, you lot tin notice that the Edge UI is scaled down, but the Internet Explorer frame is silent rendered at the scale element of the primary display.

Similar to its before version of Windows DPI scaling improvements inwards Windows 10

In Creators update it appears similar this-

Similar to its before version of Windows DPI scaling improvements inwards Windows 10

Child-window DPI scaling

Mixed-mode DPI scaling introduced inwards the Windows 10 Anniversary Update enabled users to accept unlike DPI scaling modes inside each top-level window inwards an application. The scaling, however, lacked back upward for child-window DPI scaling. This scheme, unfortunately, continues to stay unchanged inwards Windows 10 Creators Update i.e., Windows 10 Creators Update lacks back upward for child-window DPI scaling

Desktop icons

A major irritant field running the display inwards ‘Extend’ way was the inability of the Desktop icons to align themselves or DPI scale amongst multiple displays containing unlike DPI/display scaling values. Update to the OS inwards the cast of Creators Update resolves this much nagging issue.

Here is what you’d meet before the Creators Update:

Similar to its before version of Windows DPI scaling improvements inwards Windows 10

After the update:

Similar to its before version of Windows DPI scaling improvements inwards Windows 10

High-DPI developer documentation

The high-DPI documentation which was available on MSDN till directly has turned irrelevant in addition to has directly decease a thing of the past. Why? The guides for writing per-monitor DPI aware applications were written keeping inwards heed Windows 8.1 period. Things accept evolved in addition to changed a lot e'er since then. Many Windows API DPI sensitivities accept non been thoroughly documented. All of this required a thorough clean-up in addition to edifice things from grounds up. With upcoming Windows 10 Creators Update, you lot tin await these changes to materialize.

For to a greater extent than information, meet Windows Blog.


Source: https://www.thewindowsclub.com/
Share This :