Keyboard triggered context menu does not show spell suggestions

Steps to reproduce

Basically a reoccurrence of this bug

  • Open sandboxed vault.
  • Open settings, set HotkeysShow context menu under cursor to Ctrl + ..
  • Type “This is a topo.” at the end of the currently opening note.
  • Wait the spell checker to underlinetopo.
  • Use key to move cursor inside topo.
  • Press Ctrl + ..

Did you follow the troubleshooting guide?

Yes

Expected result

Actual result

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: #1-NixOS SMP PREEMPT_DYNAMIC Sat Apr 11 12:26:52 UTC 2026 6.18.22
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Seems that the difference between keyboard and right click triggered is that right click auto selects the wrong word. When I use move the cursor to the right of topo and press Shift + Ctrl + ← (this selects the word) and then press Ctrl + ., the suggestion shows correctly.

But this workaround is awkward (five keystrokes). I suggest also auto select the whole word when context menu is triggered near a typo.

This doesn’t happen to me.

Is this with the appimage?

Are you using wayland, xwayland, or x11?

I’m using Wayland and the Obsidian binary shipped in obsidian-1.12.7.tar.gz in Obsidian v1.12.7 GitHub release page. (actually it’s from NixOS package manager, but it’s too long to talk about and the final source is exactly obsidian-1.12.7.tar.gz).

I temporarily switched back to v1.11.4 and the keyboard context menu worked fine. I confirm that my package manager’s install script for Obsidian v1.11.4 and v1.12.7 are identical, and the fetch source are all obsidian-<version>.tar.gz in GitHub releases.

Moreover, I find that the sometimes it checks spelling, sometimes it doesn’t check at all. These errors only appear after upgrading to v1.12.7.

Sorry, we do not make the NixOs package. It is an unofficial and unauthorized redistribution.
We do not provide support for it.

In the BR template, we specifically say

  • For Linux, we only accept bug reports that are reproducible with our AppImage or Snap package under Gnome or KDE.

Did you try the appimage or snap?

Surprisingly, it works in Appimage. (but I have to say that there are even more other bugs in Appimage)

Sorry for the noise, this is again a strange Nix packaging issue. I should report this to nixpkgs.

Successfully fixed the issue by patching Nix deviation script. The glitch roots from Electron version mismatch. Thanks for your help.