Save As in an Action Does Not Change Filename on Tab
I have experimented more and can confirm there is a bug associated with an Action containing Save As. I duplicated the problem on two separate Windows 10 computers using Photoshop 2021 version 22.4.1. The purpose of writing this is to more clearly identify the problem and explain how to duplicate the problem.
Here is how to duplicate the problem. I explain that the filename in the Photoshop tab does not update to the new saved as filename, and the open recent file list is not populated. If you are an Adobe programmer or someone in the know, I speculate where to look for the cause.
1. Open any existing PSD file with Photoshop. Add an adjustment layer such as exposure and tweak it a slight amount.
2. Open the Action Panel.
Click the + icon at the bottom to create a new action. Alternately, click the Action Panel menu in upper right corner and choose New Action. Give it the name Merge Visible and Save As. Click Record.
A. Right click your mouse on one of the layers and choose Merge Visible.
B. From the Action Panel menu, choose Insert Menu Item. A dialog opens. Next, using your mouse go to
Photoshop's main menu and click on File > Save As then click on the OK button.
Now stop the action recording by clicking the square icon at lower left of Action Panel.
3. Do not save the file you have open. Instead, close it and quit Photoshop.
4. You are not ready to perform the testing.
5. Create a folder 2021_06_04_TestFile somewhere on the drive where you save photos.
6. Copy a raw file from any location to this folder. Rename the file to 202100604_IMG_6179.NEF. (Use a different extension if the file was from a non-Nikon camera.)
7. With Adobe Bridge 2021, navigate to the folder, select the file, and open it in Camera Raw. Make an adjustment such as increasing or decreasing the exposure, and maybe a few other things such as increasing the clarity. At the bottom of Camera Raw, click the Open button.
8. Photoshop should open and display the file. (It may take a few seconds for Photoshop to display the file, so wait as needed.)
9. Look at the tabe in Photoshop and it should show 202100604_IMG_6179.NEF.
9. Add an adjustment layer such as Exposure and tweak it a small amount. (For the test, the image does not have to look perfect.)
10. Open the Action Panel and select the Merge Visible and Save As action by clicking on it.
11. At the bottom of the Action Panel, click on the triangle icon to execute the Action.
12. The Windows Save As dialog should appear. Navigate to the folder 2021_06_04_TestFile. The File name edit box should be pre-populated with 202100604_IMG_6179.psd. (Note the psd extension.) Edit the filename and change it to 202100604_6179_MyTestFile.psd. Next click the Save button.
13. Look at the tab in Photoshop. It still shows 202100604_IMG_6179.NEF.
Step 13 shows the error. The tab should display 202100604_6179_MyTestFile.psd, but it does not. However, if you use Windows File Explorer, you will see the file was saved as 202100604_6179_MyTestFile.psd.
My conclusion is that, Windows returned the correct renamed (or saved as) file name and Photoshop captured that returned value because Photoshop saved the file correctly. What is did not do is update the tab and it did not update the Open Recent files list.
