Search Issue Tracker

By Design

Votes

0

Found in

2022.3.39f1

6000.0.12f1

Issue ID

UUM-76433

Regression

No

Undo.isProcessing returns false in ChangeEvent when performing undo operation

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. From the menu navigate to BugRepo > Open Window
3. Change the “Int Value” field to 6
4. Clear the Console window
5. Press undo (Ctrl+ Z)
6. Observe the Console window

Expected result: No messages are printed
Actual result: “Changed value : 6 -> 0” is printed

Reproducible with: 2022.3.39f1, 6000.0.12f1
Couldn't test with: 2021.3.40f1 ('Undo' does not contain a definition for 'isProcessing')

Reproducible on: Windows 11
Not reproducible on: No other environment tested

  1. Resolution Note:

    `Undo.IsProcessing` is functioning as intended here. The system that generates change events occurs after the undo system has finished processing and so `Undo.IsProcessing` is returning the correct result in this case. Change events are generated by watching a given field, when a change is detected; an event is actioned. Change events do not contain any information about whether the origin is from undo.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.