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

Pressing space in the textarea is not enabling the horizontal scrollbar.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Step to reproduce
      ------------------
      1) Run the attached program. You can see a frame having some components. Oberve that textarea having some character from a to v .
      2) Click on "Get Size" button. you see contents of the textarea & its length printed on the console.
      3) Press a single character in the textarea. Observe the horizontal scrollbar is enable.
      4) Click on "Get Size" button. you see the contents of the textarea & its length printed on the console.
      5) Delete the newly added character. Observe the horizontal scrollbar is disabled.
      6) Click on "Get Size" button.You see the contents of the textarea & its length printed on the console.
      7) Press space bar to add space character into the textarea, you can add more than one space. Observe the horizontal scrollbar is still disabled.
      8) Click on "Get Size" button.You see the contents of the textarea & its length printed on the console, which takes space into consideration i,e space is added to string & prints its length.

      I tested the same scenario with notepad, its works fine i,e pressing space bar is enabling the horizontal scrollbar.

      I tested this with 1.4.2/fcs/b28 till Mustang b90. This is reproducable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpremkumsunw Lawrence Premkumar1 (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: