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

MouseMoved & MouseDragged events are not triggered properly for Choice on Solari

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • sparc
    • solaris_7, solaris_8

      These failures are noticed on Solaris:
      MouseMoved event should be triggered by choice when the mouse is moved inside
      the component. Choice triggers MouseMoved event when the mouse is moved anywhere
      inside the frame and when the drop-down menu of the choice is active.

      MouseDragged event should be delivered to the component from where dragging
      originated irrespective of the location of the mouse whether it is inside
      or outside the component. But choice stops triggering MouseDragged event
      when the mouse pointer is dragged out of the frame and when the drop-down menu
      is active. Also I could see MouseExited event being triggered when the mouse
      pointer goes out of the frame.
      ( all the above scenarios will be reproducable only when the Drop-down menu
      of the choice is visible (which comes up by clicking the choice once))

      How to reproduce the bug :
      Run the sample code. You would find a frame with a button and a choice.
      Click choice once and keep the mouse pointer inside the choice until the
      drop-down menu pops up. When the drop-down menu pops up, try moving the mouse
      all over the frame and you would see MouseMoved event being triggered
      continuously in the prompt. Try dragging the mouse over choice and try
      dragging it outside the component and outside the frame. You would see
      triggering of MouseDragged gets terminated when the mouse goes out of the
      frame and you would also notice MouseExited event being triggered.

      I noticed this failure with merlin build-62.
      Herewith I have enclosed the Sample code.

            ssisunw Ssi Ssi (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: