JDK-6268101 : PIT: Popup menu added to the tray icon does not disappear when clicking outside the icon, win32
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-05-10
  • Updated: 2011-04-28
Related Reports
Relates :  
Description
I am adding 2 tray icons to the system tray from a java app. One of the icons has a popup menu and one of them does not have. Do the following in order to reproduce the bug:

1. Execute the attached app. 
2. You would see 2 tray icons. One of them will have popup and another one will not have. Make a note of which one is not having the popup.
3. A frame is shown with few buttons.
4. Click on the 'toggle popup' button. 
5. Right click inside the icon which was not having the popup before.
6. A popup menu would appear. 
7. Keeping the popup menu, click on any of the native apps on the task bar or click on the screen.
8. Popup menu will not disappear and it will appear on top of the native app that was opened. 
9. Popup menu will not respond to any keyboard inputs.

This is reproducible only on Win32. 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 reproduced it on WinXP using the test attached to this bug report.
###@###.### 2005-05-10 18:23:18 GMT

Comments
EVALUATION This happens when one popup menu is added to several icons at ones. ###@###.### 2005-05-11 12:16:24 GMT See ccc-request 6271569. Adding one popup for several tray icons will be not allowed. ###@###.### 2005-06-24 14:33:16 GMT
2005-05-11