Copy link to clipboard
Copied
Where do we report bugs? Code below works fine on Windows and CC 2018 on Mac. But CC 2019 Mac it hangs the app once clicking the OK button in window 2. I've tried three different Macs including Mojave and High Sierra. All the same result. Pretty sure it's not just me. This bug has broken a number of my scripts that present a secondary window for saving settings.
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 () {
openWindow2();
};
btnOk1 = function () {
w1.close();
};
w1.show();
function openWindow2 () {
var w2 = new Window("dialog", "Window 2");
var btnOk2 = w2.add("button", undefined, "OK");
btnOk2.onClick = function () {
w2.close();
};
w2.show();
}
Hi William,
Seems this bug has already been discussed in the following thread and a bug has been filed with Adobe, i would advice not to open a new bug but voting for the already reported bug. The url for bug which you can use to vote for the bug can be found on the thread mentioned below
Showing a Dialog while another one is active is broken
-Manan
Copy link to clipboard
Copied
williamc3112933 wrote
Where do we report bugs? …
Hi, report it there:
If you are in InDesign Prerelease you could also report it there.
Did you try this code with older versions of InDesign on Mac OS X ?
Like InDesign CS6 on e.g. OS X 10.11.6 or below.
Regards,
Uwe
Copy link to clipboard
Copied
Laubender wrote
Did you try this code with older versions of InDesign on Mac OS X ?
Like InDesign CS6 on e.g. OS X 10.11.6 or below.
Yes. Works on CC 2018 Mac, CS6 Mac, works fine also on Windows 10. Fails on Mojave and High Sierra as well. Definitely a problem with 14.0.2. Haven't tried 14.0 or 14.0.1
Copy link to clipboard
Copied
Hi William,
Seems this bug has already been discussed in the following thread and a bug has been filed with Adobe, i would advice not to open a new bug but voting for the already reported bug. The url for bug which you can use to vote for the bug can be found on the thread mentioned below
Showing a Dialog while another one is active is broken
-Manan
Copy link to clipboard
Copied
Hi Manan,
thank you for pointing to the discussion.
Here the direct link to the report:
ScriptUI: Opening Dialog while dialog is open breaks InDesign – Adobe InDesign Feedback
Regards,
Uwe
Copy link to clipboard
Copied
Thanks. At least I'm not going insane, it's not just me. Thanks for the link but I had posted another bug report. But I went to the link anyway, commented, and voted as you suggested. From what I gather at the link 14.0.1 is okay. Whatever happened it was at 14.0.2 release.
Copy link to clipboard
Copied
To confirm, I rolled back to 14.0.1, Works fine now. Definitely broken at 14.0.2
Copy link to clipboard
Copied
So would you recommend that your customers will roll back to InDesign 14.0.1 as well?
Regards,
Uwe
Copy link to clipboard
Copied
Yes I would recommend going back to 14.0.1, at least anyone who relies on scripting. This flaw breaks many scripts.
Copy link to clipboard
Copied
Hi William,
going back to 14.0.1 could be a mixed pleasure if I am looking at the long list of bugs fixed with 14.0.2:
Regards,
Uwe
Copy link to clipboard
Copied
Hi William,
there is news on this. I highlighted one important sentence:
amaarora (Software Engineer, Adobe InDesign) responded · Jun 10, 2019
Hello All,
The fix for this issue is now available in the beta builds of InDesign. You can download the latest beta build from Download section of InDesign Prerelease portal.
1. Go to adobeprerelease.com
2. Log in with your Adobe Id.
3. Once logged in, search for “InDesign CC Prerelease” program in the list.
4. Click on the program to join the same.
5. You can now download the build (15.0) from “Builds and Plugins” section on the page.
6. The steps for installing the build can be found in the release notes
Source: ScriptUI: Opening Dialog while dialog is open breaks InDesign – Adobe InDesign Feedback
Regards,
Uwe
Copy link to clipboard
Copied
Hi together,
there is a hotfix available for InDesign CC 2019 14.0.2 and also a hotfix for InCopy CC 2019 14.0.2:
Application becomes unresponsive for nested script UI dialogs [macOS only]
The fixes are not available through the Creative Cloud Desktop app.
The user has to download and install the fixes from the linked page.
Regards,
Uwe