Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-910

Some keyboard shortcuts will not work when switching to another language

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.1
    • Component/s: Editor, UI
    • Sprint:
      4.0.1

      Description

      When switching the UI language (e.g. to French), some keyboard accelerators will not work even if they appear in the menu.

      Internal error: Unable to load frame labels file: /Applications/BlueJ.app/Contents/Resources/Java/french/frame-labels
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Key code must not be null!
      at javafx.scene.input.KeyCodeCombination.validateKeyCode(KeyCodeCombination.java:207)

      at javafx.scene.input.KeyCodeCombination.<init>(KeyCodeCombination.java:90)
      at bluej.Config.getAcceleratorKeyFX(Config.java:1092)
      at bluej.Main.lambda$prepareMacOSMenuFX$9(Main.java:307)
      at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amjad Amjad Altadmri
                Reporter:
                amjad Amjad Altadmri
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: