Page MenuHome

Search Menu shows Undo History entries, making it easy to lose work
Closed, ResolvedPublic

Description

System Information
Operating system: Linux-5.15.11-76051511-generic-x86_64-with-glibc2.34 64 Bits
Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.86

Blender Version
Broken by rB0e1bb232e68ce

Short description of error
When trying to search for an operator, you might end up executing its undo history entry, rolling you back a bunch of steps without you ever realizing that it happened. As soon as you touch anything, your work is lost for ever.

Exact steps for others to reproduce the error

  • Add Cube
  • Move, Move, Move
  • F3, Search for "Add Cube"
  • One of the entries is from the Undo History, in this case not the top-most one, but in a case with an addon operator I have, the undo history entry can be the top-most one:

  • Choose that entry. Instead of adding a cube, your cube resets to its original position. Confusing!
  • Select the cube
  • Try to undo
  • Your "Move, Move, Move" steps just got nuked!

Revisions and Commits

Event Timeline

On an unrelated note, the Undo History UI got reversed, I don't know if that was by design but if yes, I find that questionable, considering the tail end of the history (which is now the most recent steps) get cut off the screen with 256 steps.

Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.Jan 18 2022, 4:55 AM

I think it has been happening for a couple weeks.

I can confirm on current master. I will search for the commit where it got introduced.

Dalai beat you do it in the chat! :D Added breaking commit to task description.

Also opened T95024 for the reversed order.