JDK-8054658 : Regression: Visual Styles not applied to SWT based JNLP applications.
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u65
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2014-08-08
  • Updated: 2014-08-12
  • Resolved: 2014-08-12
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 9
9Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Windows 7, 64bit.

A DESCRIPTION OF THE PROBLEM :
Since the latest java updates 1.8.0_11 and 1.7.0_65 SWT applications started with Java Web Start no longer apply Windows "Visual Styles.
Issues observed with 1.8.0_11 and 1.7.0_65:-
1. SWT based JNLP Application looks flat like a Classic windows theme.
2 Tool-tip no longer works with SWT based JNLP application.

Corresponding Eclipse SWT bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=439759
Note:- Everything worked fine in the previous releases 1.8.0_05 and 1.7.0_60

REGRESSION.  Last worked in version 7u60

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Steps to reproduce:
1. Select JRE 1.7.0_65
2. Launch www.eclipse.org/swt/jws/controlexample.jnlp
3. SWT based JNLP application should get launch with flat visual styling.

Note:- You might need to set required security permissions to launch this JNLP.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1. For SWT based JNLP application visual style should look similar to 1.7.0_60
2. Tool-tips should works
ACTUAL -
1. For SWT based JNLP application visual style look flat like Classic Windows theme.
2. Tooltips are not working.

REPRODUCIBILITY :
This bug can be reproduced always.


Comments
a further comment on this at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=439759 : "The problems seems to be that these jp2launcher.exe has not included the "visual style manifest" and therefore windows fall back to "Classic Mode". The javaw.exe has included the "visual style manifest". I also tried to add a jp2launcher.exe.manifest next to the jp2launcher.exe like described in the visual style guide but this doesn't fix it." and "According to the initial bug about using Visual Styles (https://bugs.eclipse.org/bugs/show_bug.cgi?id=45918 ) it was fixed in SWT this way: "We used activation contexts and embeded the manifest file in the DLL." So points to regression caused by new launcher code. - Should be able to test this by disabling secure launcher from deployment.properties. (deployment.security.use.insecure.launcher=true)
11-08-2014