Bug: “Toggle Editing View” menu item stays grayed out when a custom hotkey is assigned — macOS Tahoe
Environment
- Obsidian version: 1.12.7
- Installer version: 1.12.7
- OS: macOS Tahoe [26.4 (25E246)]
- Safe mode: tested — bug persists
- Community plugins: disabled (Safe Mode active during testing)
Steps to reproduce
- Open a vault with a note already open.
- Assign a custom hotkey to the “Toggle editing view” command via Settings → Hotkeys.
- Open the View menu in the macOS menu bar.
- Observe that the “Toggle editing view” / “Editor” menu item is grayed out and unclickable.
- The custom hotkey also does not work.
Expected behavior
The “Toggle editing view” menu item should be enabled whenever a markdown note is open and in focus, regardless of whether the default or a custom hotkey is assigned.
Actual behavior
- The menu item View → Editor (Toggle editing view) is permanently grayed out.
- Clicking on the note text does not switch to Editing mode.
- The custom hotkey assigned to the command has no effect.
Additional observations
- The default hotkey
Cmd+E(which was NOT remapped) still works correctly and toggles editing view as expected. - The bug appears to be triggered specifically by assigning a custom hotkey to “Toggle editing view”: after the remapping, the menu item becomes non-functional.
- Removing the custom hotkey and restoring the default
Cmd+Elikely fixes the issue (not yet confirmed — please test if you can reproduce). - The bug persists in Safe Mode (all community plugins disabled), ruling out plugin interference.
- This may be related to how Electron handles menu item state updates on macOS Tahoe when hotkey bindings are modified.
Workaround
Use the default Cmd+E shortcut (if not remapped) or the Command Palette (Cmd+P → “Toggle editing view”) to switch modes.
Did you follow the troubleshooting guide?
Yes.