Skip to Content

HANA Studio on High resolution displays

If you try to work with SAP HANA Studio on HiDPI (High resolution display), like Apple retina or Microsoft Surface, you will see that there is a problem with the size of the icons:

In Surface 4 at 2736×1824, icons are tiny, unusable, as you can see in the screenshot (compare it with the size of the fonts):

/wp-content/uploads/2016/05/2016_05_31_17h26_00_965001.png

As HANA Studio is based in Eclipse, I tried some recommendations that I found in https://bugs.eclipse.org/bugs/show_bug.cgi?id=421383#c60 with correct results:

/wp-content/uploads/2016/05/2016_05_31_17h24_38_965002.png

Windows instructions

Create a new registry key with REGEDIT

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\

And create a new entry (DWORD VALUE)

Name: PreferExternalManifest

Value: 1

Create a Manifest file

Open hdbstudio.exe location (by default C:\Program Files\sap\hdbstudio)

Create a new file: hdbstudio.exe.manifest  (or use the attached file, and remove .xml extension)

with this content:

<?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>

Now, you can open your HANA Studio with “normal” icons 🙂

Disclaimer: Note that modifying the registry can cause serious problems that may require you to reinstall your operating system.

1 Comment
You must be Logged on to comment or reply to a post.
  • Hello Xavier,

    Thanks ever so much for this workaround. I have been suffering with my UHD 4K (3840×2160) screen and studio.

    The workaround does make the text slightly jagged and fuzzy (blurred) but at least the text is legible and the icons are visible.

    Thanks again.

    KR,

    Amerjit