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

TextBox's caret appears thinner\truncated when placed at start of first character in the textbox.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Environment:

      XP, 6u18,soma b28

      Description

      Run the attached test and place the mouse anywhere except before the first character of the textbox.-Observe that the caret looks like a thick grey line.
      Now place the mouse just before the first character of the textbox.-Observe that the caret now does not look like a thick grey line, but appears thinner or truncated.
      This was seen on soma b28.
      import javafx.scene.control.*;
      import javafx.scene.*;
      import javafx.stage.*;
      var tb1 = TextBox {
          text: "ABC"
          columns: 12
          selectOnFocus: false
          editable: true
          translateX: 30
      };
      Stage {
          width: 300
          height: 200
          scene: Scene {
              content: tb1
          }
      }

        Attachments

          Activity

            People

            • Assignee:
              gkbrown Greg Brown (Inactive)
              Reporter:
              smandalisunw Srinivas Mandalika (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: