Duplicate Image inside action ignores Cancel
Issue: Photoshop does not handle "Cancel" in "Duplicate" image menu command correctly when called from within an action
Photoshop version: 26.8.1
OS: macOS 15.5
Steps to reproduce:
- Create a new action and enter the menu command "Duplicate" from the Image menu, with user interaction.
- Optionally add actions to be run after duplication.
- Save & run the action, when prompted for the filename of the duplicate, press the "Cancel" button or the Escape key.
Expected result:
Photoshop stops the execution of the action (without duplicating the image)
Actual result:
Photoshop continues as if the "OK" button or Return key was pressed, duplicates the image and continues with the action commands after the duplication step.
Note:
Calling the "Duplicate" command from the image menu directly (not from within an acion) works as intended.
