-
Bug
-
Resolution: Won't Fix
-
P1
-
None
-
1.1_alpha, 1.1.3
-
x86, sparc
-
solaris_2.5.1, windows_nt
The following block of code is a MouseListener event which does not get the mouse exit event in a consistent manner on the solaris platform compared to the win32 platform.
public void mouseExited(MouseEvent event) {
int y = event.getY();
// Check to see that cursor is out of the window area
System.out.println("Got mouse exit event getY() = "+y);
}
To reproduce:
1. Add the above mouseExited MouseListener to a application.
2. Run on solaris moving the mouse cursor in and out of the window quickly.
3. Run on win32 moving the mouse cursor in and out of the window quickly.
(See that it does not report the mouseExited event).
4. Move the mouse very slowly crossing the boundary of the window.
(See that it does report the mouseExited event).
5. Compare y values on solaris vs. win32.
*Note: Full testcase is still forthcoming.
public void mouseExited(MouseEvent event) {
int y = event.getY();
// Check to see that cursor is out of the window area
System.out.println("Got mouse exit event getY() = "+y);
}
To reproduce:
1. Add the above mouseExited MouseListener to a application.
2. Run on solaris moving the mouse cursor in and out of the window quickly.
3. Run on win32 moving the mouse cursor in and out of the window quickly.
(See that it does not report the mouseExited event).
4. Move the mouse very slowly crossing the boundary of the window.
(See that it does report the mouseExited event).
5. Compare y values on solaris vs. win32.
*Note: Full testcase is still forthcoming.
- relates to
-
JDK-4065565 MouseEvent MOUSE_EXITED, not being passed
-
- Closed
-