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

PIT: MouseDragged events not triggered for Choice when dragging it with left mouse button, XToolkit

XMLWordPrintable

    • b40
    • sparc
    • solaris_9
    • Verified

      I am clicking on the Choice component and dragging the mouse within / outside the component. I don't see any MouseDragged Events being triggered for Choice on XToolkit on the following PIT build:

      java version "awt.pit-awt-blade-2005-04-05-Tue-int.mustang"
      Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-awt-blade-2005-04-05-Tue-int.mustang)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b30, mixed mode)

      This is seen on Solaris9 as well as Linux with XToolkit. This is not occuring on the recent promoted build - Mustang b30. Hence this is a PIT failure. This is not reproducible on Motif. On Motif, MouseDragged is triggered properly when dragging the component itself and not happening when dragging inside the drop-down. Same behavior must be implemented on XAWT also.

      This is reproducible only for Left Mouse Button and not for other buttons. I have attached a sample test. Execute the sample test. You would see a Frame with a Choice. Press the left mouse button within the choice and drag it. If you don't see any MouseDragged events on the console, the bug is reproduced.
      ###@###.### 2005-04-07 14:17:09 GMT

            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: