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):
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.
Hello Xavier,
Thanks ever so much for this workaround. I have been suffering with my UHD 4K (3840x2160) 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
Hello Xavier and Amerjit,
I tried the same, but it didn't work for me. My screen resolution is 3840 x 2160.
I updated the registry and created a new notepad file "hdbstudio.exe.manifest" and pasted the given code. Still, no luck.
I don't know if this method is supported by current HANA Studio versions.
You can try a different approach because from 2018, Eclipse supports HDPI screens.
-Dswt.autoScale=200
If you are on windows, you can try to modify compatibility mode (instead of the above):
Regards,
Thanks a lot Xavier. The second option worked.
But the texts are blurry still readable.Thanks again.