On macOS, Obsidian jumps back to the Space with its main window when opening/closing a secondary window

Steps to reproduce

  1. On macOS, open a note in a secondary window
  2. Move that secondary window to a different Space (virtual desktop).
  3. Close the secondary window

Did you follow the troubleshooting guide? Y/N

Tested in Restricted Mode.

Expected result

macOS remains on the current Space.

Actual result

macOS jumps over to the Space with the main Obsidian window on.

Environment

SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.8.3
Operating system: Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 23.4.0
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 2
Restricted mode: off
Plugins installed: 11
Plugins enabled: 0


Additional information

I posted this as a Help request, with a bit more context. I’m not yet allowed to include links in posts, but the title is “On macOS, Obsidian jumps back to the Space with its main window when opening or closing a secondary window”.

I also made a demo video of the bug and will post the link once I’m allowed to.

This behaviour also occurs when using the “New Note New Window” and “Global Hotkeys” plugins to open a new secondary window while on a Space other than the main window’s Space. Pressing the chosen hotkey successfully opens a new note in a new window—but then macOS jumps to the Space with the main Obsidian window on.

1 Like

Can’t seem to edit my post, but I meant to mention: other apps which support multiple windows (e.g. Chrome, Sublime Text, Evernote) do not behave in this way. When you open or close a new window, macOS stays on the same Space as I would expect.

I’ve checked the settings for Spaces in System Preferences to see if there’s any relevant setting there. The only one which seems relevant (though not precisely matching this case) is “When switching to an application, switch to a Space with open windows for the application”. This is disabled.

Here’s a demo video

Closing the secondary window is the last action I took. The movement back to to the original Space is automatic.