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

TextField Rendering Issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • fx1.2
    • None
    • javafx
    • jdk6u10 b22, WinXp Sp2, SDK build 275

      Moved from bug # 6694008

      In the test I have 5 textFields with background, border enabled properties set in various combinations.
      (Please refer to the test and the snapshot attached.) There are several issues in each of these:

      Issue 1:
      By default when the UI comes up, the end of the contents are shown in all textfields rather than the contents at the start.

      Issue2:
      TextField5: TextField in enabled state, with a Border, RadialGradientPaint as background shows a black line above it. (This was seen on a machine with D3D enabled as well as disabled.)

      Issue3:
      TextField1 & TextField3: Disabled TextField with a default background appear with a white border, irrespective of whether they have the attribute borderless set to true or false.
      TextField4 & TextField5 : Disabled textfield with a radial gradient paint as background have a border in the same shade of radial gradient paint whereas
      TextField2: Disabled textfield with a Beige Color set as background has white border. - The behavior needs to be consistent.

      This was tested with jdk6u10 b22, WinXp Sp2, SDK build 275.

      ---------Submitted by srinivas.mandalika [2008-04-25 10:16]


      The problem here is that our painting of the background assumes that we should fill the entire component with the background color. That seems to be wrong for Nimbus.

      ----------Evaluation 1 shannon.hickey [2008-04-25 15:36]

        1. TextFieldIssues.PNG
          21 kB
          Girish Ramachandran
        2. TextFieldTest1_Standalone.fx
          2 kB
          Girish Ramachandran

            rbair Richard Bair (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: