If the Sandbox is minimized to the dock, ⌘+N does nothing (but the File menu flashes).
If the Sandbox is minimised, File>New Note shows the JavaScript error.
If no vaults are open but Obsidian is running and the focused app:
⌘+N does nothing (but the File menu flashes).
File>New Note shows the JavaScript error.
I never have Obsidian running with all vaults minimized or closed so have never seen this before. It’s understandable with no open or focused vault that Obsidian doesn’t know where to put a new note, but the vault switcher, at least, should show up.
@masklinn, could put post your debug info (⌘+P>Show debug info) just to finish out your bug report? Thanks. Here’s mine:
macOS 12.6.2, Sandbox
SYSTEM INFO:
Obsidian version: v1.1.9
Installer version: v1.1.9
Operating system: Darwin Kernel Version 21.6.0: Sun Nov 6 23:31:13 PST 2022; root:xnu-8020.240.14~1/RELEASE_ARM64_T6000 21.6.0
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Running macOS 10.15.7 Catalina, Obsidian 1.4.5, reproduced with current and new blank vault.
Open your current vault
Minimize the window
With the current app still being Obsidian, i.e. menu bar shows Obsidian, File, Edit, Insert, Format, etc; click Obsidian > Preferences or Help > Open Sandbox Vault.
Javascript error window pops up.
If the window is re-opened (not minimized in dock), the error disappears.
Unable to open preferences or sandbox vault when the main window is minimized.
Actual result
Even with the sandbox vault, the error persists.
Environment
SYSTEM INFO:
Obsidian version: v1.4.5
Installer version: v1.3.5
Operating system: Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 19.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on