obsidian-workspaces-plus icon indicating copy to clipboard operation
obsidian-workspaces-plus copied to clipboard

Attempting to create new workspace overwrites another workspace

Open ParkerRobb opened this issue 2 years ago • 12 comments

Describe the bug I followed the instructions to create a new workspace by typing the name in the popup and pressing shift+enter, but when I do that it does not create a new workspace but instead overwrites the first workspace on the list alphabetically.

This had the effect of overwriting another workspace I had spent a lot of time customizing. I am not happy about losing that.

I cannot find any other way to create a new workspace.

To Reproduce

  1. Click the Workspaces Plus status bar item.
  2. Type in a name for a new workspace.
  3. Press shift+enter.

Expected behavior A new blank workspace with the new name should be created.

It should NOT overwrite an existing workspace!

Screenshots None

Desktop (please complete the following information):

  • macOS 12.6.2
  • Obsidian 1.1.9

Smartphone (please complete the following information): N/A

Additional context None

ParkerRobb avatar Feb 07 '23 16:02 ParkerRobb

Here's a screenshot that shows different behavior than described in #33:

image

ParkerRobb avatar Feb 07 '23 17:02 ParkerRobb

  • I made a test, and I replicated the same problem. I could observe the plugin ignores what is typed and consider what is highlighted. The workaround would be to save the new workspace using the native plugin.

  • to avoid losing time rebuilding workspaces, save the file "workspaces.json" located in .obsidian (workspace.json, without the "s" is related to other layouts like the left ribbon)

mrkuramoto avatar Feb 09 '23 10:02 mrkuramoto

I was able to find a backup of .obsidian and restored all files starting with workspace*.

ParkerRobb avatar Feb 09 '23 19:02 ParkerRobb

Can confirm this is still happening. At the moment I don't see any way to create a new workspace.

kahboom avatar Mar 18 '23 12:03 kahboom

Same. No way to create new workspaces

ragundo avatar Apr 05 '23 19:04 ragundo

Same for me

zero617 avatar Apr 07 '23 14:04 zero617

Same

johannesCmayer avatar Apr 26 '23 19:04 johannesCmayer

Same

HyperEpsilon avatar May 17 '23 18:05 HyperEpsilon

same

nickmilo avatar May 26 '23 16:05 nickmilo

Hi everyone, sorry for the inconvenience. You might consider updating to the workspaces plus beta version. I just tested this issue on a test vault and the problem is appearing on the main release but not the beta version. Search in the community plugin browser for brat, then run the command "add a beta plugin for testing" and put this repository's url: https://github.com/nothingislost/obsidian-workspaces-plus

Please make a backup of your workspaces.json file as I do not know if updating to the beta version will affect it at all.

I am currently working on an update to the commander plugin, but will redirect my attention here to workspaces soon after.

jsmorabito avatar May 30 '23 00:05 jsmorabito

This works for me :+1: Thank you.

johannesCmayer avatar May 31 '23 02:05 johannesCmayer

Hi, Why is there still no release for this fix?

ncoquelet avatar Feb 22 '24 23:02 ncoquelet