United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6268101 : PIT: Popup menu added to the tray icon does not disappear when clicking outside the icon, win32

Details
Type:
Bug
Submit Date:
2005-05-10
Status:
Open
Updated Date:
2011-04-28
Project Name:
JDK
Resolved Date:
Component:
client-libs
OS:
windows_xp
Sub-Component:
java.awt
CPU:
x86
Priority:
P3
Resolution:
Unresolved
Affected Versions:
6
Targeted Versions:

Related Reports
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together