Detached window doesn't change color scheme automatically

Steps to reproduce

  1. In Option > Appearance, select Adapt to system in Base color scheme;
  2. Open any note in the main window and move it to a new window;
  3. Move the focus to the detached window;
  4. Change the system color scheme between light and dark.

Expected result

The color scheme of Obsidian changes with the system.

Actual result

The color scheme doesn’t change until the main window regains the focus.


	Obsidian version: v0.16.0
	Installer version: v0.14.6
	Operating system: Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 21.6.0
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: off
	Legacy editor: off
	Base theme: adapt to system
	Community theme: Minimal
	Snippets enabled: 3
	Restricted mode: off
	Plugins installed: 32
	Plugins enabled: 28
		1: Find orphaned files and broken links v1.6.1
		2: Improved VimCursor v0.0.1
		3: Add Codemirror matchbrackets.js v1.0.0
		4: Advanced URI v1.24.0
		5: Custom window title v0.3.5
		6: Hide Sidebars on Window Resize v1.0.4
		7: Find & Replace in Selection v1.1.0
		8: Garble Text v1.2.0
		9: File Explorer Note Count v1.2.0
		10: Relative Line Numbers v2.0.1
		11: Advanced Cursors v0.5.1
		12: Style Settings v0.4.10
		13: Calendar v1.5.10
		14: Get Info v1.1.0
		15: Obsidian Git v1.31.0
		16: Regex Find/Replace v1.2.0
		17: Readwise Official v2.0.1
		18: Minimal Theme Settings v6.0.0
		19: Regex Pipeline v1.2.0
		20: Tasks v1.12.0
		21: Notion-Like Tables v4.2.5
		22: Smort v1.0.1
		23: Extract Highlights v0.0.18
		24: Advanced Tables v0.17.3
		25: Kanban v1.3.17
		26: Dataview v0.5.43
		27: Weread Plugin v0.4.6
		28: Typewriter Scroll v0.2.2

download and reinstall obsidian.

does this happen in the sandbox vault?

I can’t repro

Thanks for the reply. I tried again and find the issue can be reproduced only if the main window is either hidden, minimized, or located on a different desktop than the detached window.

Please see a screen capture demonstrating the bug:

Here, I minimized the main window and you can observe the detached window didn’t change color scheme with the system until the main window was un-minimized.

did you download and reinstall obsidian?

Yes and the issue persists.

ok, maybe this is an OSX specific issue.