nothingislost / obsidian-workspaces-plus

Quickly switch and manage Obsidian workspaces
GNU General Public License v3.0
198 stars 6 forks source link

If workspaces plus is on, Obsidian cannot update the file "appearance.json" #96

Open mrkuramoto opened 1 year ago

mrkuramoto commented 1 year ago

If workspaces plus is on, Obsidian cannot update the file "appearance.json", so any changes in Themes or Snippets (on/off) are not saved. Maybe I'm doing something wrong.....

mrkuramoto commented 1 year ago

I tested again on 2023-02-09, and I didn't face the problem.

seannik commented 1 year ago

v1.1.14 February 2023 on Win 11 (On 2 PC's). Appearance settings not saved, specifically Dark/light, Theme, and CSS snippets revert to Light, "empty", and off on exiting. The "base colour scheme" reports previous set value but does not show it, and to set Dark scheme requires setting 'adapt to system' then 'Dark', Light' then 'Dark' does not re-set to Dark. I discovered current thread in my troubleshooting and disabling Workspace Plus immediately restored the appearance settings and re-enabling caused the issue again, though this failed to replicate, triggering a "failed to unload" plugin toast/ pop up notification on disabling. It subsequently required obsidian to be shutdown and restarted, with Workspaces Plus enable the appearance was 'Light, no theme, no CSS Snippets', and when disabled it was whatever the previous appearance settings were. Hope this helps.

seannik commented 1 year ago

Further Testing - turning off 'Workspace Mode' seems to resolve the issue. Setting 'Respect System dark Mode Settings' seemed to resolve the dark/light/system toggle but not themes or CSS Snippets. Thank you for your work.

zanodor commented 1 year ago

Same issue here: https://forum.obsidian.md/t/linux-windows-app-json-and-appearance-json-files-acting-up-changes-saved-out-not-respected-upon-relaunch/56170/6