Edit online

Keyboard no Longer Works After Inserting Accented Characters on Mac

Problem

The macOS has a method for inserting accented characters that is triggered by holding a key and then selecting the desired character from a contextual menu. When using this method in macOS 10.14 (Mojave) to insert accented characters in Oxygen XML Editor, the keyboard can no longer be used unless I restart the application.

Causes

This problem is caused by some sort of incompatibility issue with Java 8 and macOS 10.14 (Mojave).
Note: Starting with version 25.0, Oxygen XML Editor no longer officially supports Java 8. The minimum officially supported version is now Java/OpenJDK 11.

Solution

To prevent this problem, you should use an Oxygen XML Editor distribution that includes OpenJDK 17:
  1. Uninstall Oxygen XML Editor:
    1. All data stored in the installation directory will be removed, including any customizations or any other data you have stored within that directory. Therefore, you should make a backup of any data you want to keep.
    2. Remove the application by manually deleting the installation folder and all its contents.
  2. Reinstall Oxygen XML Editor using the distribution that includes OpenJDK:
    1. Go to the Oxygen Download page.
    2. In the macOS tab, click on the macOS 10.11 and later (Includes OpenJDK 17) link to download this particular distribution.
    3. Follow the instructions to install the downloaded installation package.