ryanpcmcquen / obsidian-focus-mode

Add focus mode to Obsidian.
Mozilla Public License 2.0
68 stars 7 forks source link

[Bug] When Obsidian launches, the focus mode is toggled from the start? #25

Closed seanjun21 closed 2 years ago

seanjun21 commented 2 years ago

I think someone mentioned this earlier (one of the issues was similar), but when you launch Obsidian fresh, the focus mode is toggled. I'm not sure if it's ON or not because it's showing weird behavior (screenshot included)--basically hides all the side buttons except the focus button.

image

It gets kind of annoying because the intention of focus mode is to turn it on when I want to focus. And in order to get out of this mode, I have to toggle focus 2x (turn it ON and OFF) to see the full normal panel display. The current theme is minimal, but it's displaying the same error across all themes.

image image

This is the list of all plugins on my workspace. Could you look this into?

ryanpcmcquen commented 2 years ago

Are you able to reproduce this with all other plugins disabled? The other issue was requesting it to be enabled on startup, so that's unrelated.

seanjun21 commented 2 years ago

Ok, so I tracked all the plugins that I have installed. Basically followed your suggestion and tried enabling one-by-one (from all plugins disabled) to see which one is causing the issue.

Looks like it's the "Minimal Theme Setting" -- the plugin that comes with Minimal Theme. The weird thing is ... it's showing the error, even when I'm not using the minimal theme. Seems like the plugin setting itself is causing the issue with focus mode.

I hope that helped.

ryanpcmcquen commented 2 years ago

I imagine it is a bug with that plugin, and I don't use it.