You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/09/18 17:58:37 UTC

[GitHub] eirikbakke opened a new pull request #883: [NETBEANS-1227] Mark Windows launchers as DPI-aware

eirikbakke opened a new pull request #883: [NETBEANS-1227] Mark Windows launchers as DPI-aware
URL: https://github.com/apache/incubator-netbeans/pull/883
 
 
   Add manifest information to the netbeans64.exe, app64.exe, and nbexec64.exe executables (and their 32-bit equivalents) to tell Windows that Java supports HiDPI scaling, like javaw.exe already does. This enables HiDPI support on Windows, without needing to fuzz around with special settings. This works on both Java 9 and Java 10. See https://issues.apache.org/jira/browse/NETBEANS-1227 .
   
   For those who are still using Java 8, NetBeans will now appear small (but sharp) on HiDPI screens. The old behavior, of NetBeans appearing normal size but blurry, can be reverted by right-clicking the NetBeans shortcut, and clicking Properties->Compatibility->Change HiDPI Settings->Override high DPI scaling behavior->Scaling performed by System. If we expect this to be a problem, an alternative would be have the launcher detect the use of Java 8 (and Windows 8.1 minimum) and turn off DPI awareness programmatically using the Windows [SetProcessDpiAwareness](https://docs.microsoft.com/en-us/windows/desktop/api/shellscalingapi/nf-shellscalingapi-setprocessdpiawareness) API call. But I'd rather recommend that people with HiDPI screens should run NetBeans with Java 9 or above, where support for such screens is actually available.
   
   This pull request also fixes some relative paths that broke when directories were moved around, and makes two other minor fixes.
   
   Note that the new Windows launchers (app64.exe and netbeans64.exe) seem not to suppress the console properly; this is an unrelated bug that was present before this patch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists