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

Can not paste and copy the text from the text area into the editor

XMLWordPrintable

    • 5.0
    • b42
    • generic
    • linux, solaris

        Testsuite name: jck manual
        JDK/JRE tested: jdk-1_5_0_55-linux-amd64.bin (jdk5u55b05)
        OS/architecture: ubuntu12.04-x64, OEL5.7, solaris

        Reproducible: Always
        Reproducible on machine: stt-57, stt-75, stt-74

        Is it a Regression: No, the issue is being reproduced on jdk5 b64

        Is it a platform specific issue: Yes
        Is it a new (previously unsupported) OS/browser/mode testing: No

        Test run log location:http://jsqalab.us.oracle.com/results/Evergreen/5u55/b05/jck/ubuntu12.04-x64/results/workDir/api/javax_swing/interactive/JTextAreaTests_JTextArea.jtr
        Test run result location:http://jsqalab.us.oracle.com/results/Evergreen/5u55/b05/jck/ubuntu12.04-x64/results

        Steps to reproduce:
        1. Install test bundle jdk5u55b05 from http://jre.us.oracle.com/java/re/jdk/1.5.0_55/promoted/all/b05/bundles/linux-amd64/jdk-1_5_0_55-linux-amd64.bin to /ws
        2. Download the JCK-runtime-15a.jar from http://jre.sfbay.sun.com/java/re/jck/5/promoted/ea/latest/bundles/ to /ws and use /ws/jdk1.5.0_55/bin/java -jar JCK-runtime-15a.jar to unzip it
        3. Download attachment file JCK-templates.zip and unzip it to /ws
        4. From command line, go to /ws/JCK-templates, run the command "sh run.sh"
        5. After java test harness launched, change to current configuration, run the cases api/javax_swing/interactive/JTextAreaTests.html#JTextArea

        Descriptions:
        This test verifies the behavior of the cut, copy and paste methods. A JTextArea and three JButtons are shown below. Please select some text, and click Cut Verify that the text is removed from the JTextArea. Load notepad or dtpad and use the paste function there to verify that the cut text shows up. Type in some new text, highlight it and click Copy, again load notepad or dtpad and use the paste function there to verify that the copied text shows up. Next type in some text in notepad or dtpad, highlight it and use Copy there, click the paste button below to verify that the text is inserted into the textarea. Lastly verify that if a selection is present in the textarea the paste function replaces the selection only.

        Actual behavior:
        Can not paste and copy the text from the txtarea into the editor.Please refer to paste.jpg and tooltik.jpg

        Verify:
        1)winvista-sp2-x64,jdk5u55b02(64bit),it's passed.
        2)solaris10-sparc,jdk5u55b03(32bit),it's passed.
        3)winxp-pro-x86,5u55b04(32bit),it's passed.

          1. JCK-templates.zip
            91 kB
          2. paste.jpg
            paste.jpg
            118 kB
          3. tooltik.jpg
            tooltik.jpg
            119 kB

              pchelko Petr Pchelko (Inactive)
              tolli Tony Li (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: