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

Mac: Prompt texts are hidden upon focus


    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8u60
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:


      On OS X a prompt text in a text field or password field will be visible until the user enters the first character in the field. This can be seen in the UI of the OS X login for instance, where the prompt text "Enter password" is visible even when the field has focus. This can also be seen in Mac OS Spotlight search, in Safari, Chrome, Firefox, and all other apps I have tested.

      JavaFX however, hides the prompt text as soon as a text field or password field gains focus. This is problematic for two reasons:

      1. It does not follow standard MacOS behaviour.
      2. It prevents the user from reading the prompt text if the app sets the focus automatically.

      In our app, this bug currently prevents our users from reading the helpful prompt text everytime we bring up a UI in which we help the user by focusing the first field automatically.

      This is in no way a showstopper, but I do think this bug is bad for the usability of our app.


          Issue Links



              • Assignee:
                risaksen Randahl Isaksen
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: