ScriptUI: Opening Dialog while dialog is open breaks InDesign
I'm running InDesign 14.0.2 on a macOS High Sierra (10.13.6)
In a script i created I have a Dialog. It has a button that opens another dialog.
Before my last indesign-update (CC 14.0.2) the second dialog would open and when i closed it, i could use the previous dialog window again.
Now with the Update when I open the second dialog and close it again, i cant use (or close) the previous dialog and it blocks me from using InDesign. I can move the dialogwindow around but thats it so i have to restart indesign.
I tested this on two colleague's system with the same InDesign version (14.0.2) and had the same result.
I tested this on a colleague's system with 14.0.1 and it worked as intended. (Also it worked for me before the update)
Attached is a testscript with the dialogs and a short videodemonstration.
Pls fix this, as we use this function to change settings in configfiles for scripts we use.
Hello All,
Thank you for reporting the issue to us.
We have fixed the issue in the latest version of InDesign, Id 14.0.3
Please upgrade your InDesign application to the latest version to try out the fix.
If you are unable to see the update yet, go to Creative Cloud desktop application, open the menu (three dots) from the top-right corner and click on ‘Check For App Updates’.
If you face any problems with the new update, do let us know in the comments.
You may also follow the below given link for the list of all fixed issues in Id 14.0.3
https://helpx.adobe.com/indesign/kb/fixed-issues.html
-
Ariel commented
+1 to fix urgently!
-
Bastian S. commented
omg yes - please fix this! This has been driving me crazy since the update.
-
Anonymous commented
I just noticed this is in the wrong section. It should be in SDK/Scripting Bugs.
-
Anonymous commented
As i wasnt able to attach the scriptfile here is the code:
var myWindow = new Window("dialog", "Konfiguration");
var myButtonGroup = myWindow.add("group");
var config = myButtonGroup.add("button", undefined, "Einstellungen", {
name: "settings"
});
var Abbrechen = myButtonGroup.add("button", undefined, "Abbrechen", {
name: "cancel"
});
config.onClick = function() {
var myConfigWin = new Window("dialog", "Einstellungen");
var contentGruppe = myConfigWin.add("group");
contentGruppe.alignChildren = "left";
contentGruppe.orientation = "column";
var contentEintrag = contentGruppe.add("group");
var contentText = contentEintrag.add("edittext", [0, 0, 750, 500], "Test", {
multiline: true
});
contentText.characters = 20;
contentText.enabled = true;
var contentButtonGruppe = myConfigWin.add("group");
var contentPlatzhalter = contentButtonGruppe.add("statictext", [0, 0, 550, 0], "");
contentButtonGruppe.orientation = "row";
contentButtonGruppe.alignChildren = "right";
var closeConfig = contentButtonGruppe.add("button", undefined, "Abbrechen", {name: "cancel"});
closeConfig.onClick = function() {
myConfigWin.close();
}
myConfigWin.show();
}
myWindow.show(); -
Anonymous commented
I'm running InDesign 14.0.2 on a macOS High Sierra (10.13.6)
In a script i created I have a Dialog. It has a button that opens another dialog.
Before my last indesign-update (CC 14.0.2) the second dialog would open and when i closed it, i could use the previous dialog window again.
Now with the Update when I open the second dialog and close it again, i cant use (or close) the previous dialog and it blocks me from using InDesign. I can move the dialogwindow around but thats it so i have to restart indesign.
I tested this on two colleague's system with the same InDesign version (14.0.2) and had the same result.
I tested this on a colleague's system with 14.0.1 and it worked as intended. (Also it worked for me before the update)Attached is a testscript with the dialogs and a short videodemonstration.
Pls fix this, as we use this function to change settings in configfiles for scripts we use.