Bug details

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.

38 votes
Sign in
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Sign in with: facebook google
Signed in as (Sign out)
  • Justin Putney commented  ·   ·  Flag as inappropriate

    This will affect more users than you realize. It's only developers who are noticing it first and fully understand the impacts.

  • William Campbell commented  ·   ·  Flag as inappropriate

    Just rolled back version and tested to confirm, code works fine in 14.0.1
    Bug was introduced by changes to 14.0.2

  • William Campbell commented  ·   ·  Flag as inappropriate

    Me too. Breaks scripts I use daily. Below is simplified example code to demonstrate the bug.

    var w1 = new Window("dialog", "Window 1");
    var btnOpenWindow2 = w1.add("button", undefined, "Open Window 2");
    var btnOk1 = w1.add("button", undefined, "OK");
    btnOpenWindow2.onClick = function () {
    btnOk1 = function () {

    function openWindow2 () {
    var w2 = new Window("dialog", "Window 2");
    var btnOk2 = w2.add("button", undefined, "OK");
    btnOk2.onClick = function () {

  • Anonymous commented  ·   ·  Flag as inappropriate

    Updated Indesign 14.0.2 today on MacOS 10.13.6; just ran into this bug; production-relevant scripts voided; please put the fix of this severe bug on top of your list; thank you.

  • Anonymous commented  ·   ·  Flag as inappropriate

    Please Adobe, fix this.
    There are so many useful features that InDesign itself has, an additional script from Marc Autret won't bother!

  • Anonymous commented  ·   ·  Flag as inappropriate

    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() {


Feedback and Knowledge Base