Copy link to clipboard
Copied
I have an ExtendScript script, which creates a dialog/window, where users can insert some arguments, etc.
This blank dialog remains open all the time until I force close photoshop. The script execution continues and even finishes, but the window remains opened.
I suspect that this behaviour is due to the fact that close() doesn’t actually block, so the window may not be fully closed and cleaned once it returns.
What’s the best solution to solve this problem?
$.sleep(1000) does not seem to help and it's just seems wrong to use a sleep anyway. I suppose what we need is to just execute the heavy work until the window is fully closed.
I also tried to call app.refresh() before the heavy work, but I also don't know if this really solves the issue.
Copy link to clipboard
Copied
Hi!
What computer are you working on? Mac or Windows? What version of Photoshop? Have you checked to see that your computer is compatible with the version of Photoshop you are currently running?
Michelle
Copy link to clipboard
Copied
I'm using Mac OS Sequoia (15.6.1) and Photoshop 26.9.0.
Here they indeed recommend Mac OS Sonoma, which is a prequel to Sequoia, but this issue has been happening to me for a long time (at least 1 year). I am quite sure I also had it with Sonoma.
Copy link to clipboard
Copied
And I have a MacBook Pro with Apple M3 Max with 36GB, which is a relatively powerful machine.
Copy link to clipboard
Copied
Yes! Very powerful!
Did you also check to see if your graphics card is compatible and up to date? Here is an Adobe Help doc that talks about some of the issues that are caused by the GP card—one of them is incorrectly rendered windows.
https://helpx.adobe.com/photoshop/kb/troubleshoot-gpu-graphics-card.html
Check this out and let us know if this fixes the issue or if it still persists?
Michelle
Find more inspiration, events, and resources on the new Adobe Community
Explore Now