This is going to sound odd but the “OK” and “Cancel” buttons in my UXP generated modals stopped working. No code was changed. No new version of Ps was installed. I eventually loaded an archived development version through the UXP Developer Tool in place of the current version and then the buttons start started working again. Then I reloaded the current version, and it worked too. I was rebooting the computer and restarting Ps though all this, but none of this helped. I just started working again.
And then these buttons stopped working again. And then they started working again.
So it’s totally unpredictable. And when they stop working, it affects all modals generated by the plugin. So it seems to be something more than just some bad coding on one modal.
I’m still exploring if there’s something in the way persistent storage is loading that may affect this, but again, that’s never been an issue before, so it seems unlikely.
Just wondering if anyone else is seeing weird stuff with modal “OK” and “Cancel” buttons. I know it sounds weird, but something strange is going on that’s affecting all these buttons and I’m having a hard time tracking it down. Or does any one have any suggestions of things to try?