dooit-org/dooit

[BUG] Crash after deleting workspace or todo item

Closed this issue ยท 3 comments

Describe the bug ๐Ÿ›

Deleting, adding, and deleting a todo item or workspace will crash the app.

To Reproduce ๐Ÿฃ
Steps to reproduce the behavior:

  1. Create a workspace / todo item (press a, input the title, press esc)
  2. Delete the created item (press xx, press y)
  3. Create a new workspace / todo item (press a) => The title of the previous workspace item would appear. Upon pressing esc, an error message would flash up at the bottom of the screen.
  4. Delete the newly created item (press xx, press y) => Dooit crashes

Expected behavior ๐Ÿค”

Not crashing.

Screenshots ๐Ÿง

Part of the trace stack:

Screenshot 2024-11-14 at 12 13 06โ€ฏpm

Desktop (please complete the following information): ๐Ÿค–

  • OS: MacOS 14.3.1
  • Version Dooit 3.0.2

Yes I just noticed it yesterday if you do it fast enough. Thanks for opening this

Edit: Looks like you dont need to be fast. Ugh

Did we solve your problem?
Glad we could help!

Consider sponsoring my work through github sponsors ๐Ÿ˜„
โ€“ @kraanzu

Should be fixed with the latest update now :)