JDK-7153700 : [macosx] add support for MouseMotionListener to the TrayIcon
Type:Bug
Component:client-libs
Sub-Component:java.awt
Affected Version:7,8,9
Priority:P4
Status:Resolved
Resolution:Fixed
OS:os_x
CPU:x86
Submitted:2012-03-14
Updated:2017-01-10
Resolved:2016-11-07
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Mac OS X 10.7.3 macmini4,1
Fix to 7124321 adds MouseListener support to the TrayIcon which is obviously most important. To fully cover specifications, we still need MouseMotionListener support.
Comments
macmini10.10-x64 8u20b21(64bit)
closed/java/awt/TrayIcon/TrayIconTest.html
Instruction:
Testing EVENTS functionality
1. Select some of the TrayIcons and add it. Select "MouseEvent" from the group of checkboxes at the top-right of the test frame. Click on the TrayIcon in the SystemTray: - MOUSE_PRESSED, MOUSE_RELEASED and MOUSE_CLICKED events should be generated.
2. Press mouse inside the TrayIcon, dragging mouse and releasing it. - Make sure that MOUSE_CLICKED event is not triggered.
3. Click on the TrayIcon with different modification keys: - there should be appropriate modifiers in the events.
4. Keep clicking on the TrayIcon: - there should be correct absolute coordinates in the events.
5. Select "MouseMotionEvent" checkbox. Move mouse over the TrayIcon:- MOUSE_MOVED event should be generated. It should contain
correct coordinates.
6. Deselect both the checkboxes and then select "AWTEventListener".Click on the TrayIcon and then move mouse over it:- Appropriate mouse events should be generated (catched by the AWTEventListener).
Actual behavior:
For step 5:When we move mouse over the TrayIcon, the MOUSE_MOVED event doesn't be generated.
04-07-2014
RULE closed/java/awt/TrayIcon/MiddleButtonEventTest/MiddleButtonEventTest any any
RULE closed/java/awt/TrayIcon/MouseMoveTest/MouseMoveTest any any