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

PIT: Java TrayIcon messages do not disappear until user clicks on them, Win32

XMLWordPrintable

    • b47
    • x86
    • windows_xp
    • Verified

      I am adding a tray icon to the system tray t tray and displaying a message by calling trayicon.displayMessage(). The message appears. I expect the message to disappear automatically after few seconds but it does not disappear. It stays there for ever until user clicks on it. This behavior is deviating from the spec and differs from messages shown by other tray icons added by native apps. They disappear automatically after few seconds.

      This is reproducible only on Win32 and not occuring on SolSparc10-JDS.

      Here is the PIT build:
      java version "1.6.0-awt.pit-int-jcg-win-03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-jcg-win-03-java2d_06_may_2005_09_06-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b35, mixed mode)

      I have attached a sample test to this bug report. Execute the sample test on WinXP. You would see a tray icon being added to the system tray. Click the 'Display Message' button on the frame. You would see a message displayed near the tray icon. Wait for 5 min. If the message do not disappear the bug is reproduced.
      ###@###.### 2005-05-11 07:05:38 GMT

            ant Anton Tarasov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: