JDK-6829055 : Update application manifests with new Windows 7 dpiAware section
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-04-10
  • Updated: 2016-05-27
  • Resolved: 2011-04-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b128Fixed
Related Reports
Relates :  
Description
6395346 : Need to make Java process High-DPI-aware on Windows Vista
added a call to SetProcessDPIAware()

Because of the inherent race conditions in relying on API, Windows 7
allows the same to be specified in the manifest <dpiAware>true</dpiAware>.

See the Writing DPI-Aware Win32 Applications white paper  at 
http://go.microsoft.com/fwlink/?LinkID=129586 which has this example :

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"  xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
     <asmv3:application>
            <asmv3:windowsSettings  xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
                  <dpiAware>true</dpiAware>
           </asmv3:windowsSettings>
     </asmv3:application>
</assembly> 

We should update src/windows/resource/template.manifest with this.

Comments
EVALUATION Added to jdk/src/windows/java.manifest
20-01-2011