Skip to content

[BUG] Pasting workspaces causes program to crash and pasted workspace to be removed #174

@Pairadux

Description

@Pairadux

Describe the bug 🐛
Upon copying and pasting workspaces, using the directional keys 'j' or 'k' causes the program to crash and the recently pasted workspace to be removed.

See additional context at the bottom for a "fix/bypass" I discovered.

To Reproduce 🐣
Steps to reproduce the behavior:

  1. Open application
  2. Press 'a' to create a workspace
  3. Enter description for newly created workspace
    -- START OF EDIT
  4. Press 'tab' to move to TODOS
  5. Press 'a' to create a new task
  6. Enter description for newly created task
  7. Press 'tab' to move back to WORKSPACES
    -- END OF EDIT
  8. Hover over / highlight newly created workspace
  9. Press 'y' to copy workspace to clipboard
  10. Press 'p' to paste workspace
  11. Press either the 'j' or 'k' key to move up or down

Expected behavior 🤔
The workspace should be able to be pasted without the program crashing and the workspace being removed.

Screenshots 🧐
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): 🤖

  • OS: Linux Mint
  • Version 21.3

Additional context 📝
A "fix/bypass" I found was that, upon pasting the workspace, if you press 'tab' to enter the workspace, and press 'a' to create a task, followed by adding the description of the task, when you press 'tab' again to return to the workspace selection pane, upon using 'j' or 'k' the program will still crash, but the workspace will still be there with the newly added task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions