Skip to main content
piXelsplasher
Inspiring
November 13, 2021
Answered

app.refresh() freezes screen surface in Photoshop 2022 for Windows

  • November 13, 2021
  • 1 reply
  • 385 views

I use the phrase "freeze screen surface" here meaning when the app.refresh() function is executed by a script in Photoshop 2022, technically it looks like it hanged but if the Esc key is pressed, the script can still be cancelled and user cancelled alerts appear. It's like Photoshop waits for itself to redraw or refresh the document and discontinues executing the script without throwing an error alert.

I have this issue with my script at
Pixelsplasher Batch Smart Layer Replace

 

The issue is present on both supported and unsupported GPU cards that I have tested on.

This topic has been closed for replies.
Correct answer piXelsplasher

UPDATE: On the Windows computer with a Radeon RX 560 GPU, the problem was solved with a display driver update.

1 reply

piXelsplasher
piXelsplasherAuthorCorrect answer
Inspiring
November 19, 2021

UPDATE: On the Windows computer with a Radeon RX 560 GPU, the problem was solved with a display driver update.