Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
XaviPolo
Active Contributor
4,415

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 2736x1824, icons are tiny, unusable, as you can see in the screenshot (compare it with the size of the fonts):

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:

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.

4 Comments