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

Mac: Prompt texts are hidden upon focus

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u60
    • javafx
    • None

      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.

            Unassigned Unassigned
            risaksen Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: