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

mouseExited event listener not consistent on win32 platform vs. solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P1 P1
    • None
    • 1.1_alpha, 1.1.3
    • client-libs
    • 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.

            cchongsunw Creighton Chong (Inactive)
            hinkmond Hinkmond Wong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: