Skip to content

Closing app during expand/collapse -> hierarchy flattening #12457

@joeflack4

Description

@joeflack4

Search first

  • I searched and no similar issues were found

What Happened?

When closing app during expand/collapse, subtree of bullet completely flattened.

Reproduce the Bug

  1. Precondition? Have a sufficient amount of bullets that the app is slow; use it for at least 5-10 minutes so the (memory leak?) issue is active and it takes like 1-3 seconds to expand/collapse stuff.
  2. Trigger expand or collapse of a bullet.
  3. Close app before it completes.
  4. Re-open
  5. Observe: The subtree of the bullet you were expand/collapsing (and possible peripheral ones) is now entirely flattened into a single level of bullets.

Expected Behavior

App recovers, and your state was where you left it before you triggered the expand or collapse.

Screenshots

No response

Desktop or Mobile Platform Information

MacOS
Desktop client

Additional Context

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions