Non-persistent settings panel scroll position when used in second window

Because the settings panel obscures most of the window when it’s open, I’ve recently started opening it in a second Obsidian window (“Open current tab in new window” and then open Settings) as a workaround to better observe the effects of making settings changes. I’ve encountered this bug while doing so.

Steps to reproduce

  1. Open a note in a new window.
  2. Open the settings panel in that new window.
  3. Scroll the settings panel.
  4. Change a setting (e.g., a toggle for a css snippet, font size slider, etc.).
  5. Switch over to the main Obsidian window.

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

Yes

Expected result

Main window comes to foreground; settings panel in the other window remains at its current scroll position.

Actual result

Main window comes to foreground, but the settings panel in the other window loses its scroll position (scrollbar jumps to the top).

Environment

SYSTEM INFO:
Obsidian version: v1.3.7
Installer version: v1.3.5
Operating system: Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 22.5.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

  • The scroll position only changes if you change a setting before switching windows. Otherwise, it remains where you left it indefinitely, regardless of how many times you switch between the two windows.
  • This only happens if the settings panel is opened in the new window. If it’s open in the main window and a setting is changed, switching over to the new window does not affect the settings panel’s scroll position.

Possible related behavior I just observed: the same settings-scroll-reset thing happens in Obsidian on iPad (but while settings is still open) when these two conditions are present:

  1. You have at least two tabs open.
  2. You click a setting toggle using an external mouse (e.g., trackpad) rather than tapping it on the touchscreen with your finger.