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

PIT: Choice consumes MouseReleased, MouseClicked events when clicking it with left button, XToolkit

XMLWordPrintable

    • b40
    • x86
    • linux_sun
    • Verified

      Clicking a Choice with a left mouse button must trigger MousePressed, Released and Clicked for the left button. But in the current PIT build, only MousePressed is triggered and not MouseReleased, MouseClicked. This is reproducible only on the following PIT build, with XToolkit:

      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 not reproducible with XAWT on Mustang-b30 and not reproducible with Motif. I reproduced it on Cinnabar as well as Solaris9-CDE.

      I have attached a sample test. Execute it on XAWT. You would see a frame with a button. Click on Choice with left mouse button. If you don't see MousePressed, MouseReleased and MouseClicked events on the console, the bug is reproduced.

      ###@###.### 2005-04-07 14:26:47 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: