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

Update application manifests with new Windows 7 dpiAware section

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Resolved In Build:
      b128
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: