Pressing tab always indents with two spaces with "Indent using tabs" disabled, ignoring "Tab indent size"

I just tried it again and had some very strange and inconsistent behaviour. For context, I originally noticed this bug while playing around with settings to file this other bug report: Tabs outside of lists render with the wrong width - #3 by LyD

Today, I also was not able to reproduce it with spaces. It seemed to be working fine in both sandbox mode and my vault, including the original note I was testing it out on. However, when I enabled “Indent using tabs” I had the opposite problem - tabs weren’t following the setting on my personal vault. Over on the sandbox vault it was working fine. It even dynamically changed the size of tabs as soon as I changed that setting. Still had no affect on my personal vault.

I decided to take a screen recording to show the problem. Took a break, downloaded OBS, then recorded myself testing out both vaults side by side. The behaviour changed again! This time the sandbox was also not picking up the setting when using tabs. Closing and reopening the sandbox didn’t help, it still had the issue with tabs.

Here’s the screen recording, sandbox is on the top left and personal vault is bottom right. Apologies for how poor it is for a bug report, fumbling around and not making it more clear what I’m doing. I only noticed the behaviour changed in the middle of recording it, and I’m really not sure what happened to reproduce it.

If I completely close Obsidian, reopen it (opens my personal vault), then open the sandbox, tabs are still behaving poorly but spaces are fine.