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

Multiple L&F icons are identical

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "9"
      Java(TM) SE Runtime Environment (build 9+180)
      Java HotSpot(TM) Server VM (build 9+180, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux aklinux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
      Linux Min 17.1

      A DESCRIPTION OF THE PROBLEM :
      Multiple icons of the metal L&F and our application are identical. For example minimize, maximize and close window icon. A screenshot can visualize it.

      On every run there are other icons involved.

      This problem occur only with images which are loaded at the same time/place. Like the window icons or the toolbar icons our application.

      The problem is persistence if we resize a window or new opening a dialog.

      This sounds for us that it is not a problem of the graphic sub system. Else it seems to be a resource loading problem. After an initial loading such icons resources have a static reference.

      REGRESSION. Last worked in version 8u152

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      We start the application with the follow jnlp:
      <?xml version="1.0" encoding="utf-8"?>
      <jnlp codebase="http://data:9000/jnlp/designer/">
      <information os="Linux">
      <title>i-net Designer</title>
      <vendor>i-net software</vendor>
      <icon href="../client/favicon.ico" />
      </information>
      <information os="Windows">
      <title>i-net Designer</title>
      <vendor>i-net software</vendor>
      <icon href="../client/favicon.ico" />
      </information>
      <information os="Mac">
      <title>i-net Designer</title>
      <vendor>i-net software</vendor>
      <icon href="../client/favicon.icns" />
      </information>
      <security>
      <all-permissions/>
      </security>
      <resources>
      <j2se version="1.8.*"/>
      <j2se version="9.*" java-vm-args="--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED "/>
      <jar href="JnlpDesigner.jar" main="true" download="eager"/>
      <property name="jnlp.codebase" value="http://data:9000/jnlp/designer/"/>
      </resources>
      <application-desc main-class="com.inet.designer.jnlp.JnlpDesigner">
      <argument>Cookie=SESSIONID9000=1b6yvap5gfpnx7wrylbbk043j</argument>
      </application-desc>
      </jnlp>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Different icons for different feature. or better the right icons on the right place.

      REPRODUCIBILITY :
      This bug can be reproduced often.

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: