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

REG:Choice does not trigger MouseReleased when dragging and releasing the mouse outside choice, XAWT

XMLWordPrintable

    • b79
    • sparc
    • solaris_10
    • Verified

      As per the API specification, When clicking a component, dragging it and releasing the mouse outside the component, the component must trigger MouseDragged until mouse button is released and Mouse Released must be triggered for the button which is released. This does not seem to work as expected for Choice where MouseReleased is not at all triggered for left button when dragged and released outside the component.

      This is noticed only on XAWT and not reproducible on Win32. This is not reproducible on Tiger-FCS, Mustang-b32 but reproducible on B47-B51. So I think it is a regression introduced in some build between b32 - b47. I reproduced it on SolarisSparc10-JDS.

      I have attached a sample test. Execute the test. You would see a frame with a Choice. Click on the choice, drag the mouse and release it outside the frame. If you don't see a MOUSE RELEASED event on the console, the bug is reproduced.

            dav Andrei Dmitriev (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: