After updating to 21.0.0 I see unexpected behaviour of ScriptListener - the listener's log ScriptListenerJS.log is very large and grow very quickly even I do nothing inside the Photoshop. And the log is full of the MRUFileListChanged event blocks like the following
var idMRUFileListChanged = stringIDToTypeID( "MRUFileListChanged" ); var desc5980 = new ActionDescriptor(); var iddontRecord = stringIDToTypeID( "dontRecord" ); desc5980.putBoolean( iddontRecord, true ); var idforceNotify = stringIDToTypeID( "forceNotify" ); desc5980.putBoolean( idforceNotify, true ); executeAction( idMRUFileListChanged, desc5980, DialogModes.NO );
Steps to reproduce
Clear ScriptListenerJS.log and save
Run Photoshop, create document and draw something
Close document without saving.
Expected behaviour - the log is stable, no records being added (because no actions is being performed in Photoshop)
Actual behaviour: the log is infinitely growing by adding the MRUFileListChanged blocks mentioned mentioned above. The only way to stop this is to close Photoshop.
This behaviour almost blocked my jsx scripting work and this is very sad.