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

MouseWheel cannot be scrolled using Robot API - mouseWheel(int amt) in Linux

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description


      Mouse Wheel Event is not triggered when I scroll using Robot API - mouseWheel(int wheelAmt)

      When I scroll manually its triggering events.

      Compile and Run MouseWheelTest.java
      A Frame with a List will appear. Robot will move over the list and will scroll.
      If no messages is printed on the console, ie. even not triggered, bug is reproduced.

      I have tested in Linux RedHat 6.2 and 7.0

      Mouse Wheel is configured in our Lab Machines as per instructions given by Brent Christian. Its working fine for all Manual scrolling operations. Fails only when we use Robot mouseWheel(int wheelAmt) API

      ////////////////////////
      al.smith@eng 2001-05-29
      Name: as83306 Date: 05/09/2001

      Regression test java/awt/Robot/RobotWheelTest/RobotWheelTest.html fails with Merlin build 63 on Linux 6.2,
      host seahund. This test has not passed within the last 9 builds when it was introduced in build 54.
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
       
       #Test Results (version 2)
      #Thu May 03 10:15:24 GMT+00:00 2001
      #checksum:3ae1e29789ed059b
      #-----testdescription-----
      $file=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/java/awt/Robot/RobotWheelTest/RobotWheelTest.html
      $root=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63
      author=bchristi: area=Robot
      keywords=bug4373478
      run=USER_SPECIFIED applet RobotWheelTest.html\n
      source=RobotWheelTest.html
      title=Test mouse wheel functionality of Robot

      #-----environment-----

      #-----testresult-----
      description=file:///.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/java/awt/Robot/RobotWheelTest/RobotWhe
      elTest.html
      end=Thu May 03 10:15:24 GMT+00:00 2001
      environment=regtest
      execStatus=Failed. Execution failed: Applet thread threw exception: RobotWheelTest$TestFailsException: Test ran, but failed!
      javatestOS=Linux 2.2.14-6.1.1 (i386)
      javatestVersion=JT_2.1.3i
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile applet
      start=Thu May 03 10:14:50 GMT+00:00 2001
      status=Failed. Execution failed: Applet thread threw exception: RobotWheelTest$TestFailsException: Test ran, but failed!
      test=java/awt/Robot/RobotWheelTest/RobotWheelTest.html
      work=/export0/results/regression/merlin/b63/seahund.2.2.14-6.1.1-jth13-jdk14b63-05.03-09.14-ALL/java/awt/Robot/RobotWheelTest

      #section:script_messages
      ----------messages:(1/102)----------
      JDK under test: java full version "1.4.0-beta-b63" (/net/sqesvr/export/st1/jdk14-beta/b63/linux-i386)

      #section:build
      ----------messages:(3/100)----------
      command: build RobotWheelTest
      reason: Named class compiled on demand
      elapsed time (seconds): 3.002
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/223)----------
      command: compile
      /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/java/awt/Robot/RobotWheelTest/RobotWheelTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 2.998
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:applet
      ----------messages:(3/130)----------
      command: applet RobotWheelTest.html
      reason: User specified action: run applet RobotWheelTest.html
      elapsed time (seconds): 31.805
      ----------System.out:(0/0)----------
      ----------System.err:(25/2415)----------
      RobotWheelTest$TestFailsException: Test ran, but failed!
      at RobotWheelTest.start(RobotWheelTest.java:115)
      at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
      at java.lang.Thread.run(Thread.java:579)
      STATUS:Failed.Applet thread threw exception: RobotWheelTest$TestFailsException: Test ran, but failed!
      result: Failed. Execution failed: Applet thread threw exception: RobotWheelTest$TestFailsException: Test ran, but failed!


      test result: Failed. Execution failed: Applet thread threw exception: RobotWheelTest$TestFailsException: Test ran, but failed!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bchristi Brent Christian
                Reporter:
                rpullanisunw Rakesh Pullanikkad (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: