REGRESSION:show the wrong selection when there are \r characters in the text

XMLWordPrintable

    • b18
    • x86
    • windows_xp


        ###@###.### 2003-01-08

        I can not reproduce this problem on my WinXP, Win2K with English locale.
        Just log this bug in case engineer team be able to reproduce the problem
        with nl_NL locale.

        J2SE Version (please include all output from java -version flag):
          java version "1.4.2-beta"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b10)
          Java HotSpot(TM) Client VM (build 1.4.2-beta-b10, mixed mode)

        Does this problem occur on J2SE 1.3 or 1.4? Yes / No (pick one)
          No

        Operating System Configuration Information (be specific):
          Windows XP SP1 with nl_NL locale.

        Hardware Configuration Information (be specific):
          IBM Thinkpad A20p, 384Mb ram

        Bug Description:
          setSelectionStart/setSelectionEnd) show the wrong selection when there
          are \r characters in the text.

        Steps to Reproduce (be specific):
          Run the sample(MantisAwtBugs.java) using 1.4.2 and click on the left button.
          You'll see that the visual selection doesn't correspond to the text that
          gets copied. (check screen shot mbug.jpg)

              Assignee:
              Kdm Kdm (Inactive)
              Reporter:
              Ting-Yun Ingrid Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: