nothingislost / obsidian-workspaces-plus

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

Workspaces not being saved properly #92

Open tprotopopescu opened 1 year ago

tprotopopescu commented 1 year ago

Describe the bug

Sorry, I'm not entirely sure how to describe this... Saving a workspace (Shift+Enter) uses some random block of text from a currently open file (but the text is not selected or in clipboard) as the name of the (or a new?) workspace. After that the workspace selection modal does not work reliably. It displays only some of the previously saved workspaces plus the new 'huge block of text' name, and selecting a different workspace does not work.

After restarting Obsidian the list of workspaces is back to normal, the big block is gone, but changes are not saved.

Saving a workspace using Shift and mouse select works.

To Reproduce Steps to reproduce the behavior:

  1. Make some changes to a previously created workspace.
  2. Open workspace modal
  3. Select the workspace you were working on.
  4. Click Shift+Enter

Expected behavior

Workspace is saved, and pop up message saying "Workspace saved successfully" is displayed.

Screenshots

Peek 2022-12-05 11-09

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

jsmorabito commented 1 year ago

hi @tprotopopescu is this working for you with the latest fix?

tprotopopescu commented 1 year ago

Hi, no unfortunately not. I only got this problem after the latest fix (Patch for Obsidian 1.0.0 - version 0.3.3). I guess since no one else is reporting this issue it is something about my set up.

I've rolled back to 0.3.2 via BRAT and I use this fix (https://github.com/nothingislost/obsidian-workspaces-plus/issues/86#issuecomment-1289881898).

tim-hilde commented 1 year ago

I have the same issue and using the mentioned fix solved the problem as well