Default flag --wayland-text-input-version=3 breaks keyboard input for several plugins

I encountered several plugins relying on keyboard input that don’t work on Wayland by default but work if I force Obsidian to use XWayland:

  • Latex-suite
  • Click hints
  • Jump to link

After some troubleshooting I found that changing the default electron flag --wayland-text-input-version=3 to --wayland-text-input-version=1 fixes these problems. This seems to be an issue that affects several plugins that rely on “stealing” keyboard input from the editor so I chose to report it here.

Steps to reproduce

Use Wayland
Install latex-suite
Doesn’t work, snippets don’t expand.
Start the Obsidian appimage with command line option --wayland-text-input-version=1 and the snippets expand.

Did you read and follow the [Troubleshooting Guide]

No

Expected result

Stuff just works without messing with user flags.

Actual result

It doesn’t.

Environment

  • Fedora Linux 44
  • KDE Plasma
  • Obsidian 1.13.7. Issue appeared for both Appimage and Flatpak
  • Latex Suite 1.13.4

These are upstream problems that need to be addressed by wayland, kde, and so on.

We won’t change the defaults.

I can confirm the same issue on CachyOS Linux with KDE Plasma running Wayland.

Environment

  • OS: CachyOS (Arch Linux-based)

  • Desktop environment: KDE Plasma

  • Display protocol: Wayland

  • Obsidian: installed via pacman

  • Plugins tested: LaTeX Suite and Auto Expander

Observed behavior

  • LaTeX Suite manual snippets (triggered with Tab) work correctly, but automatic snippets using the A option do not expand.

  • Auto Expander also fails to expand snippets automatically when typing a trigger followed by a space.

  • The issue persists in a new vault and with different Obsidian/plugin versions.

  • Running Obsidian with --wayland-text-input-version=1 did not fix the issue.

  • However, launching Obsidian with --ozone-platform=x11 fixes automatic snippet expansion completely.

This strongly suggests an issue with keyboard/text input handling when Obsidian runs natively under Wayland, possibly involving Electron and KDE Plasma.