Running Designer on a 4K HiDPI display

 
1 Likes
Recently I changed my work computer, a Lenovo W530 to a Lenovo P50 with a beautiful HiDPI 4K display that has a resolution of 3840x2160.

To be able to see anything on such a small screen (15 inch) with such a high resolution, Windows 10 scales everything to 250%.

This works for modern HiDPI aware applications but many older programs have serious issues that make them either very hard to use or unusable.

Designer is one such application that becomes hard to use, the text is too large but it is sharp, the icons are too small. Many GUI elements are too large or too small.

I was able to find this Eclipse bug that is about this particular problem:

Bug 421383 - [Graphics] Scaling issues on high DPI displays

The bug in question was resolved in the Eclipse Neon release that was published on 2016-06-22. In the bug there was a workaround described for Windows 10, which is what I am using.

Basically the solution is the following:

  1. Make sure Designer is closed.

  • Start regedit.exe

  • Navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide

  • Create a new DWORD value named PreferExternalManifest with the value 1.

  • Restart Windows

  • Create a new XML file named: javaw.exe.manifest

  • The content must be:


  • <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">

    <description>eclipse</description>


    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
    <requestedPrivileges>
    <requestedExecutionLevel xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"
    level="asInvoker"
    ms_asmv3:uiAccess="false">
    </requestedExecutionLevel>
    </requestedPrivileges>
    </security>
    </trustInfo>

    <asmv3:application>
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
    <ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
    </asmv3:windowsSettings>
    </asmv3:application>

    </assembly>



  • Save the file in Designers jre directory, where the javaw.exe file resides. In my case since I installed Designer into C:\netiq\idm\apps\Designer452, I needed to put the file in the C:\netiq\idm\apps\Designer452\jre directory.

  • Start Designer as usual.

  • The text and icons will be a little blurry but it's much more usable than before.

Tags:

Labels:

How To-Best Practice
Comment List
  • Hi,

    are there any hints / recommendations on how to tweak Designer running on MacOS?

    I can remember years ago someone provided some information to manually change some Designer plugin configuration files, but unfortunately the information got lost

    My main concern is, that some of the text used in the GUI policy editor simply needs a larger font-size - and none of the setting in the properties  are working to control this font size - only the size of the source code editors can be set, but not of the GUI editors.

    Can anybody help?

    Kind regards,

     

    Thorsten

     

     

  • Proved and works:

    1. end Designer

    2. go to Designers Workfolder

    3. right click on icon designer application

    4. choose Properties

    5. choos compatibility

    6. click on "High DPI Setting change" or something like that

    7.  check the box on "override the high DPI Scaling

    8. choose System in the Listbox

    9. OK

    10.  OK

    restart your designer.

    Set the resolution so as you find it well.

  • I'm still experiencing this bug in august 2019 on version 4.7.3 built on june 2019. This uses a version of Eclipse 4.4.0 from 2014. Naturally this is an unsupported version. Does Microfocus have any plans of upgrading the Eclipse version they use?

  • Thanks you so much!
    It worked great for me. Before I applied the recommended solution some designer views were not readable at all on my new laptop.
    Elena Ryazanova
  • Nice! Would be cool if you could include comparison screenshots, though, so we can see if the trade-off of "text and icons will be a little blurry" is worth the effort.
Related
Recommended