Jumping to wrong position when saving and loading workspaces

Steps to reproduce

  1. Open sandbox vault
  2. Activate Core plugins “Workspaces”
  3. Open one file and split it right to get two windows which also can be two different files.
  4. Save workspaces as “1”
  5. Run command “Workspaces: Save and load another layout” and then choose “1”
  6. Repeat step 5

Expected result

After step 5, the position of content in each window is same as before step 5.

Actual result

After step 5, the positions of contents in some windows jump to different positions(usually the end of the file).


  • Operating system:
    Windows 10 Home China 10.0.19043
  • Debug info:
    Obsidian version: v1.0.3
    Installer version: v0.14.6
    Operating system: Windows 10 Home China 10.0.19043
    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


Additional information

This bug also happens in workspaces with over two windows.

thanks, we do no currently save cursor and scroll position in workspaces. Please, open a FR.