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

Mac: problems with Character Viewer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, 9, 10
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:

      Description


      When trying to enable Character Viewer on 10.9.5, it does not show up,
      and I get a message:

      2017-03-07 14:33:20.008 java[57089:507] [IMKInputSession activate] exception caught.
      IMKInputSession: <IMKInputSession: 0x7fdedd598d00> --
      NSInvalidArgumentException : [NOTE: this exception originated in the server.]
      *** setObjectForKey: key cannot be nil

      To setup for this:
      System Preferences -> Keyboard -> Show Keyboard and Characters Viewers
      should be checked.
      Then there should be a Flag on the system bag (which is the input selection pulldown)

      Pull up TextEdit (easy way, Command+space, TextEdit)

      Focus on TextEdit and Click the flag, then Show Character Viewer. It should come up, and allow you to stuff odd characters like emoji into the TextEditor.

      Now try it with a sample JFX app with a text field:
      java -cp Hello/dist/Hello.jar hello.HelloTextArea
      and try it again. The above message will be shown on console and the viewer will not appear.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mhalder Manajit Halder (Inactive)
                Reporter:
                ddhill David Hill (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: