warp icon indicating copy to clipboard operation
warp copied to clipboard

Undo stack is broken with fold selected ranges

Open advait-m opened this issue 3 years ago • 2 comments

Describe the bug

Undoing a folding operation actually undos more actions in the undo stack than expected - see example below.

To reproduce

  1. Type in {foo}
  2. Remove the last o (navigate cursor there and backspace) i.e. we now have {fo}
  3. Fold the range by selecting all the text and then choosing the option from Command Palette - we see ... as expected
  4. Press CMD-Z
  5. You'll see {foo} pop up again - not expected!

Expected behavior

We expect {fo} to show up and for only the fold operation to be undone.

Screenshots

No response

Operating system

MacOS

Operating system and version

Ventura 13.2.1

Shell Version

zsh 5.8.1 (x86_64-apple-darwin22.0)

Current Warp version

No response

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

N/A, the issue only applies to a Warp specific feature. (i.e. Warp AI, Workflows)

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

advait-m avatar Aug 31 '23 03:08 advait-m

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.

warpdotdev-devx avatar Aug 31 '23 22:08 warpdotdev-devx

Thanks for the report! We need a bit more information before we can triage this issue.

Could you try reproducing this on the latest version of Warp? If it still happens, please share logs and a screenshot or short video if you can.

If there's no activity on this issue after 3 business days, we'll close it out to help keep the issue tracker clean.


This is part of an automated backlog review and may be inaccurate. If you believe this assessment is wrong, please let us know.

warp-agent-staging avatar Apr 15 '26 23:04 warp-agent-staging