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

mouseExited event listener not consistent on win32 platform vs. solaris

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Won't Fix
    • Affects Version/s: 1.1_alpha, 1.1.3
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      solaris_2.5.1, windows_nt

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: