Some operations will currently add undo stacks even though they may lead to no-ops. For example: if you try to shift a top-most item, you will get an undo stack even though it's a no-op.
Man culprits
Change z-order of items
Align items via Alt+{1,2,3,4,5,6}
Proposal to fix
When running a potential operation do the following steps:
Pre-process an operation over all candidates and find the affected node/instance and any data needed for the operation.
If there are no valid ops, return out.
Otherwise add an undo stack and execute the operations.
Steps to Reproduce (for bugs)
Add a few times
Click on the last item added (topmost)
Press Ctrl+Up several times (each will add an undo stack)
Expected Behavior
Some operations will currently add undo stacks even though they may lead to no-ops. For example: if you try to shift a top-most item, you will get an undo stack even though it's a no-op.
Man culprits
Proposal to fix
When running a potential operation do the following steps:
Steps to Reproduce (for bugs)