Open Current Tab in a New Window causes jarring white flash in dark mode

Steps to reproduce

  1. Open Obsidian and ensure dark mode is enabled.
  2. Open a note in the current tab.
  3. Right-click on the tab or use the command palette to select “Open Current Tab in a New Window”.
  4. Observe the screen as the new window opens.

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

Y

Expected result

The new window should open smoothly without any visual disruption, maintaining the dark mode appearance throughout the process.

Actual result

When opening the current tab in a new window, there is a brief but noticeable white flash on the screen. This flash is particularly jarring and uncomfortable for users working in dark mode, especially in low-light environments.

Environment

SYSTEM INFO:
Obsidian version: v1.8.9
Installer version: v1.8.9
Operating system: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8103 24.3.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

N/A

should be better in 1.8.10 but still not fixed