Hello @Sameer K,
Update...I've honed in on the problem. When using versions of Photoshop newer than 25.11 a recorded action of the crop command does not work as expected. The crop handles are missing and repositioning the crop box is sluggish. What changes this reaction is found in the preferences dialogue under the performance tab. If the 'Use Graphics Processor' is selected, the recorded crop action fails. Once the 'Use Graphics Processor' is deselected the recorded crop action performs as expected. I've toggled on and off the choices found under the 'Advanced' tab with no effect. As mentioned, selecting 'Use Graphics Processor' does not negatively effect the recorded action of the crop command when using versions of Photoshop 25.11 or older.
I have two machines that produce these same results. The first machine is running Windows 10 and equipped with an NVIDIA GeForce GTX 1660 Ti and is loaded with the NVIDIA Game Ready Driver 572.83 (Current). The second machine is running Windows and equipped with an NVIDIA RTX 4060 Ti and is loaded with the same driver.
I would appreciate your thoughts.
marcdwelis