If I had multiple tabs open and then restart Obsidian, the outline sometimes is for a different tab than the one shown. Editing the document brings up the right outline. Editing just means placing the cursor in the file of the current tab. I don’t have to change anything to get the outline correct.