"Add file property" context menu item disabled in source mode

Steps to reproduce

  1. Open the Sandbox vault
  2. In Settings > Editor > General, change “Default editing mode” to “Source mode”
  3. Open the context menu (three-dots menu) for any note (in the editor pane)
  4. The “Add file property” menu item is disabled, regardless of whether you’re in the reading view or the editing view

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The “Add file property” context menu item can be used with similar behavior to the keyboard shortcut (<Ctrl>/<Cmd>+<;>), whether using Live Preview or source mode. That is, in source mode reading view or Live Preview (reading or editing), it allows you to add a new property in the main editor view at the top of the document, while in the source mode editing view it brings up the properties sidebar.

Actual result

While the behavior is as expected in Live Preview, when using source mode, the “Add file property” context menu is greyed out and cannot be clicked, whether using reading view or editing view, while the shortcut (<Ctrl>/<Cmd>+<;>) works as expected and described above. See screenshot below.

Environment

Observed on multiple systems:

SYSTEM INFO:
	Obsidian version: v1.4.5
	Installer version: v1.4.5
	Operating system: Windows 10 Pro 10.0.19045
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: off
	Live preview: off
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none
SYSTEM INFO:
	Obsidian version: v1.4.5
	Installer version: v1.4.5
	Operating system: Darwin Kernel Version 22.6.0: Wed Jul  5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64 22.6.0
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: off
	Live preview: off
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

Source mode, reading view; note the greyed-out “Add file property” context menu option:

ok, thanks

will be fixed 1.4.7

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.