Closed KohChia closed 3 months ago
Added to 21.1.13 release
A similar manifest could be included in vcxsrv.exe itself so that X applications render correctly when using DPI scaling
when i use 4k screen , run then jetbrain idea on linux by x11 , idea is blurry, version 21.1.13
This can be solved by right clicking on the VcXsrv executable (probably under C:\ProgramFiles\VcXsrv) > Preferences > Override High DPI Scaling Behaviour > Scaling performed by: Application.
See https://stackoverflow.com/questions/45759789/change-override-high-dpi-scaling-behavior-in-c-sharp
But since I'm using VcXsrv inside a MSIX, the Windows registry which is modified by the above setting is isolated and DPI scaling is still not working. Maybe this can be solved by enabling DPI scaling via the executable manifest of vcxsrv.exe as described by OP?
Tagging @marchaesen
The UI of the main program xlaunch.exe is outdated which uses the classic Windows styles, and also it does not support for high DPI monitor. I suggest that these features should be added.
After Visual Styles added:
After DPI-Awareness added (when running on high DPI monitor):
It is easy to add these features by adding an extra manifest file to resource script:
Add the manifest resource in any resource script file (*.rc):
Update dialogs settings in all dialog relative resource script file (*.rc):
Update
InitCommonControls
toInitCommonControlsEx
inmain.cc
.