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

jdk7 b08 system tray shows tooltip as window in task panel

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic, x86, sparc
    • OS:
      linux, solaris_10
    • Verification:
      Verified

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b08)
      Java HotSpot(TM) Client VM (build 1.7.0-ea-b08, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux 2.6.18.2-34-default
      SUSE Linux 10.2

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      KDE 3.5.5
      Celeron 2.4 GHz, 1GB RAM

      A DESCRIPTION OF THE PROBLEM :
      System tray functionality reported as fixed in bug 6448876. but when running test program - it paints tooltip as separated window.

      REGRESSION. Last worked in version mustang

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
              SystemTray tray = SystemTray.getSystemTray();
              
              PopupMenu menu = new PopupMenu();
              menu.add(new MenuItem("new menu item"));
              
              TrayIcon icon = new TrayIcon(Toolkit.getDefaultToolkit().getImage("/home/paranoid/Documents/develop/pwget2/src/org/patology/get/resources/images/add.png"), "tooltip", menu);
              icon.addActionListener(new ActionListener() {
                  public void actionPerformed(ActionEvent arg0) {
                      throw new UnsupportedOperationException("Not supported yet.");
                  }
              });
              
              try {
                  tray.add(icon);
              } catch (Exception e) {
                  e.printStackTrace();
              }



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
              SystemTray tray = SystemTray.getSystemTray();
              
              PopupMenu menu = new PopupMenu();
              menu.add(new MenuItem("new menu item"));
              
              TrayIcon icon = new TrayIcon(Toolkit.getDefaultToolkit().getImage("/home/paranoid/Documents/develop/pwget2/src/org/patology/get/resources/images/add.png"), "tooltip", menu);
              icon.addActionListener(new ActionListener() {
                  public void actionPerformed(ActionEvent arg0) {
                      throw new UnsupportedOperationException("Not supported yet.");
                  }
              });
              
              try {
                  tray.add(icon);
              } catch (Exception e) {
                  e.printStackTrace();
              }

      ---------- END SOURCE ----------

      Release Regression From : 7.0
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ant Anton Tarasov
                Reporter:
                ndcosta Nelson Dcosta (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: