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

The behaviour of the highlight will be lost after clicking the set button

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b83
    • CPU:
      x86
    • OS:
      windows

      Backports

        Description

        Testsuite name: jck manual
        JDK/JRE tested: jdk-6u65-windows-i586.exe (jdk6u65b09)
        OS/architecture: winvista-sp2-x64

        Reproducible: Always
        Reproducible on machine: spb23157.ru

        Is it a Regression: No
        Test result on the last GAed release for this train: the same behaviour
        [if Fail] Test result on FCS: the same behaviour on 1.6.0 FCS, 1.7.0

        Test run log location:http://jsqalab.us.oracle.com/results/Evergreen/6u65/b09/jck/winvista-sp2-x64/results/workDir/api/javax_swing/interactive/JTextPaneTests.jtr
        Test run result location:http://jsqalab.us.oracle.com/results/Evergreen/6u65/b09/jck/winvista-sp2-x64/results

        Steps to reproduce:
        1. Install test bundle jdk6u65b09 from http://jre.us.oracle.com/java/re/jdk/1.6.0_65/promoted/all/b09/bundles/windows-i586/jdk-6u65-windows-i586.exe to C:/ws
        2. Download the JCK-runtime-6b.jar from http://jre.sfbay.sun.com/java/re/jck/6b/promoted/latest/bundles/ to C:/ws and use C:/ws/jdk1.6.0_65/bin/java.exe -jar JCK-runtime-6b.jar to unzip it
        3. C:/ws/jdk1.6.0_65/bin/java.exe -showversion -cp C:/ws/JCK-runtime-6b/classes:C:/ws/jdk1.6.0_65/lib/tools.jar -Djava.security.policy=/workspace/jck/JCK-runtime-7/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JTextPane.JTextPaneTests -exclude JTextPaneTest0004 -TestCaseID ALL

        Descriptions(JTextPaneTest0005):
        This test verifies the behavior of JTextPane setCharacterAttributes().Below find a checkbox and two buttons. Please verify that initially text typed in the textpane is bold. Also verify that when you highlight that text and click the Set button the highlighted text is underlined and bolded. Next check the checkbox and click the Set button and verify the text is underlined and NOT bolded.

        Actual behavior:
        1.According to the case description ,there is no problem with the case running.so we marked it pass on previous test results.
        2.on sles11-sp1-x86(jdk7u45b11-32bit),highlight the text you typed,click the set button,the text is highlight.test results are expected.refer to JTextPaneTests01.jpg
        3.But we found that highlight the text you typed on windwos platform,click the set button,the highlight of the text will be lost.but the checkbox and set button still work normally.test results are expected,too.refer to JTextPaneTests.jpg.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rchamyal Rajeev Chamyal (Inactive)
                Reporter:
                tolli Tony Li (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: