Just like the title, for example, if I add a new levels adjustment layer>clip canvas>undo, it will undo both "Clip canvas" and "Add levels raster layer". If I redo, it will redo the 2 steps instead of 1. I also tested it with V1 which has no such bug.
Undo/Redo appears to be broken in V2 compared to V1
In this simple example, I add a mask layer then paint on the mask layer.
When I select undo, not only is the paint brush marks removed but also the mask.
On checking the time line, when I press undo and redo you can see that the history skips over the add mask layer in both directions.
IMG_3340.MOV