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

MouseWheel event is getting triggered for the disabled Textarea in jdk7 b60 pit build.

XMLWordPrintable

    • b48
    • 7
    • b66
    • generic, sparc
    • linux
    • Verified

      This is same as CR 6806244. The bug was closed as duplicate of 6799099.
      The bug 6799099 is been fixed for Jdk7 b60 pit build. But this issue is still seen with Jdk7 b60 pit build.

      I reproduced the failure in RHEL5 and Ubuntu with Jdk7 b60 pit build.

      Attached is the testcase (HWMouseWheelListenerTest.java)
      The testcase fails with the following error:

      "FAIL: MouseWheel event occured when mouse wheel scrolled over disabled TextArea
      Event occured for source=java.awt.List[list0,175,46,136x72,selected=null]
      Test failed!"

      Steps to Reproduce:

      1) Run the attached testcase
      java -DresultsDir=. HWMouseWheelListenerTest
      2) Observe the test results , if you see Test fails , then the bug is reproduced.

      Also in Ubuntu , the testcase MousePointerMouseWheelTest.java (attached) fails with Jdk7 b60 pit build with the following error:

      "FAIL: The frame did not receive focus when clicked
      Test failed!"

      The testcase passes in Rhel5

      Steps to Reproduce:

      1) Run the attached testcase in ubuntu(MousePointerMouseWheelTest.java)
      java -DresultsDir=. MousePointerMouseWheelTest
      2) Observe the test results , if you see Test fails , then the bug is reproduced.

            dcherepanov Dmitry Cherepanov
            kpintosunw Karen Pinto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: