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

Visual Styles are not applied to swt application anymore

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_11"
      Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
      Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      SWT 4.4

      A DESCRIPTION OF THE PROBLEM :
      SWT application started with Java Web Start no longer applies Windows "Visual Styles" (http://msdn.microsoft.com/en-us/library/windows/desktop/bb773187(v=vs.85).aspx).
      Start the same code with java runtime will apply "Visual Styles".
      The same bug happens also for 1.7.0_65.
      Everything worked fine in the previous releases 1.8.0_05 and 1.7.0_60.

      Please see the screenshots:
      Run with JWS
      https://www.dropbox.com/sh/w8xx35d17xjqj6d/AAA-hJrhncMHrudvo8mshSQWa/jws.png
      (no visual styles applied)

      Run without JWS
      https://www.dropbox.com/sh/w8xx35d17xjqj6d/AACpSWOketYDry_Y5JurZVrla/no_jws.png
      (visual styles applied)

      REGRESSION. Last worked in version 8u5

      ADDITIONAL REGRESSION INFORMATION:
      java version "1.8.0_05"
      Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      - Download the snippet https://www.dropbox.com/sh/w8xx35d17xjqj6d/AADeZrCLmbJM91LSzgABFgF4a/vs_test.tgz
      - Extract it
      - Run the run.cmd file with "normal" java (it works)
      - Run the jnlp file with jws (failure -> no visual styles)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      There is no workaround i found for that

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: