Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6829055

Update application manifests with new Windows 7 dpiAware section

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • client-libs
    • None
    • 2d
    • b128
    • generic
    • generic
    • Verified

      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.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: