obsidian-tasks icon indicating copy to clipboard operation
obsidian-tasks copied to clipboard

Resetting Custom Statuses sometimes does not add back the default ones

Open claremacrae opened this issue 1 year ago • 0 comments

Please check that this issue hasn't been reported before.

  • [X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

Clicking on 'Reset Custom Status Types to Defaults' should restore [/] and [-] if they were deleted.g

Current behaviour

I have seen [/] and [-] not be restored on some occasions.

I have not always been able to reproduce it, but I'm logging it here so I do not forget...

Steps to reproduce

  1. Install Tasks to a new vault, so that you get a guaranteed-default set of settings.

  2. Go to Settings->Tasks and scroll down to 'Custom Statuses'

    It will look like this:

    image

  3. Delete the two custom statuses - [/] and [-]

    It will look like this:

    image

  4. Click on 'Reset Custom Status Types to Defaults':

    It should look like this:

    image

    Sometimes it will look like this:

    image

Which Operating Systems are you using?

  • [ ] Android
  • [ ] iPhone/iPad
  • [ ] Linux
  • [X] macOS
  • [ ] Windows

Obsidian Version

1.14.16

Tasks Plugin Version

4.9.0

Checks

  • [X] I have tried it with all other plugins disabled and the error still occurs

Possible solution

No response

claremacrae avatar Oct 21 '23 13:10 claremacrae