Windows 8.1 - More DPI Changes

When Microsoft launched Windows 8.1, it continued to refine the scaling functionality. To assist with people using a tablet such as the Microsoft Surface as a desktop replacement, Windows 8.1 now has the ability to have independent DPI settings per display. This was sorely needed, as anyone who used a Surface Pro (a 1920x1080 pixel 10.6” display) and then connected it to an external 1080p monitor that was two to three times the size of the tablet display complained bitterly about what a terrible experience this was. The Surface Pro’s on-device screen is set at 150% scaling which is necessary to make that resolution work on a 10” screen, but on a 24” monitor all on-screen elements are enormous.

Having two independent DPI settings is not without its challenges. Applications are initially scaled at the DPI setting of whichever monitor they are opened on. With any multi-monitor system, the operating system has to be able to deal with a person moving an application from one monitor to the other. If the application is scaled at the initial DPI, how to you keep it from becoming too large or too small when moved? The solution is once again DPI Virtualization, and once again it’s a solution that works but it’s not ideal.

If the initial monitor is a lower DPI, the application will be scaled up when moved to the higher DPI display, and if it moves from a High DPI monitor to a low DPI display, it will be scaled down. Just like with the Windows Vista DPI Virtualization, this method can result in applications that aren’t as sharp as they should be, as well as quirks with user elements. To get around these issues, Microsoft has expanded the DPI API to allow for per-monitor DPI-aware applications.

Applications that are per-monitor DPI-aware are expected to automatically re-scale themselves when moved between displays. They can do this because the operating system will send a WM_DPICHANGED message to the application when most of the application’s area has moved to a display with a different DPI level. The message sent to the application includes a recommended DPI level, but the application can choose whatever value it wants.

Windows 8.1 also improves several other key elements of DPI settings, continuing the tweaks made since the days of Windows XP where you had to reboot for a DPI change.

High DPI Windows Features
Feature Windows XP Windows Vista Windows 7 Windows 8 Windows 8.1
DPI Virtualization of DPI-unaware apps No Yes Yes Yes Yes
DPI Virtualization of System DPI-aware apps No No No No Yes
API to declare DPI awareness level No Yes Yes Yes Yes
API to declare per-monitor DPI awareness No No No No Yes
APIs to retrieve system metrics and DPI Yes Yes Yes Yes Yes
Window notification of DPI change No No No No Yes
APIs to retrieve monitor DPI No No No No Yes
Requires reboot for monitor DPI change N/A N/A N/A N/A No
Requires a reboot/log off for system DPI change Reboot Reboot Log off Log off Log off
Per user DPI setting No No Yes Yes Yes
Auto configuration of DPI at first logon No No Yes Yes Yes
Viewing distance incorporated in default DPI calculation No No No No Yes

All of this DPI talk has focused 100% on the desktop environment. That is because the Modern environment for Windows has the luxury of being built with no legacy applications to deal with, so it can actually work in a manner similar to Apps on iOS and Android.

Windows 8.1 - Windows Store Apps

Love it or hate it, the Modern environment for Windows came at a time when High DPI devices already existed. This allowed it to be architected with support for native scaling for all applications. Windows Store apps are automatically scaled by Windows based on physical screen size, resolution, and device form factor at a ratio of 100%, 140%, and 180%. Windows Store apps encourage the use of scalable vector graphics if possible, or multiple copies of bitmap images to allow crisp images regardless of the scaling used.

Windows Store apps, and even Windows itself, scales not only the DPI of the application, but also how much content the application can display based on the physical screen size. Larger displays, much like in the desktop world, are often used to see and do more on the screen rather than just make everything larger as on a phone, and the Windows Runtime allows for all of this.

Windows Store apps require far less work from the developer in order to achieve this scaling. The app doesn’t have to be DPI aware, because by default all applications automatically are. Instead, things such as XAML layouts and SVG graphics allow the apps to be rescaled completely by the operating system.

Here is Adobe Touch, a Windows Store app version of Adobe Reader. It’s perfectly at home even at 3200x1800 on a 13.3” display. All of the UI elements are correctly sized and of course still usable by touch.

When It All Goes Really Wrong Final Words
Comments Locked

114 Comments

View All Comments

  • Hrel - Monday, April 21, 2014 - link

    "but in almost all cases a better solution was to simply lower the resolution of the monitor, even if it introduced blurriness to the LCD image." - I worked at a local computer store back before Vista came out, and long after when we were still selling mostly XP and the client base was largely senior citizens. That quote was the bane of my existence. "Great, now they can see what they're looking at and my eyes are about to explode from the strain of looking at this shit image".
  • Silma - Tuesday, April 22, 2014 - link

    A few remarks:
    - IBM offered high dpi monitors years before Apple did.
    - the dpi scaling isn't per monitor in Windows 8.1 for the user. Windows 8.1 somehow adapts the scaling you choose for monitor A to monitor B. As a user of a 15.6 3200*1800 laptop and an external 2560*1440 27' monitor I can guarantee you the results are absolutely subpar. I am praying for the day where Windows recognizes I know better than it does what dpi scaling I want and let me specify individually dpi scaling per monitor.
    - As for Adobe it is a disgrace. If you want to feel how many CS customers are pissed do a search for dpi scaling in their support forum. The official answer is that it is all Microsoft's fault and they are working with them. However 1. They refuse to give any timeframe. 2. It may be that the API needs fine tuning but by and large the problem lies with bad old programming from Adobe. There are many many desktops applications that scale perfectly with Windows 8/8.1 including some Adobe applications. To me it is unacceptable that PhotoShop still hasn't been fixed despite the astronomical upgrades prices (and now the cloud subscriptions extortion). That's why I switched to gimp, which sucks as much scaling-wise, but at least it's free.
  • Netscorer - Friday, May 9, 2014 - link

    My Windows 8.1 laptop alternates as desktop or HTPC, driving 3 very different monitors: the low res laptop built-in display, high-res Desktop monitor and 1080P huge 65'' TV screen. I am sick and tired tweaking resolution and scaling settings every time I connect to different monitor. I wish MS would allow to simply remember monitor profiles and automatically switch to the best settings. Maybe it's there somewhere but I have not found it yet.
  • drgadgetz - Sunday, February 1, 2015 - link

    Just had a new Toshiba P50T - hi-res 3200x2160 laptop. As an app developer, I find it disturbing that the UI scaling is not adapted by most of the developer tools like SOAPUI and Adobe CC Applications. I also find it annoying that large corporations like Adobe will release massive distributions of their software without testing their products with the mainstream technologies - in which UI scaling is a mandatory. Yes, they tried to solve the UI scaling of Photoshop, so why dont they do it for all their product offerings that I pay a subscription for in advance for a year. If they have resolved it then why not implement it on all their products.
    Another fault I find in the new hi-res laptops is the ability to be backward compatible. Could it be because the new Windows 8.1 is not completely tested as well.
    I guess the only good news to these big UI Scaling fiasco, is that this companies like Adobe can use the help of some of us expert developers in fixing their UI problems. And maybe so that they can speed up their releases and bug fixes.
    Common now, someone in Executive management listen to the people in these forums...Get this fix now or Donald Trump will tell you, ' You're FIRED!'.

Log in

Don't have an account? Sign up now