Adobe InDesign: Bugs
When filing a new bug, please provide:
- Version of Adobe InDesign, InCopy or InDesign Server
- Steps to reproduce the issues
- Expected result
- Actual result
- Test file, screenshot, video or GIF capturing the issue (optional)
52 results found
-
Image catalogue script only has Desktop as a folder option. InDesign 2023
When I've used this in previous editions, I was able to pick any folder on my computer. Now it only has Desktop as an option.
1 vote -
document.marginPreferences fails (at least on Mac0S)
with (doc = app.documents.add()){
with (marginPreferences){
top = 10;
left = 10;
bottom = 10;
right = 10;
}
}Results: margins are not set
Expected: margins set
1 vote -
distribute
document.distribute() doesn't allow aligning of pages.
doc.distribute (doc.pages.everyItem(), DistributeOptions.HORIZONTAL_SPACE, true, 0)
RESULT:
Error: Invalid value of parameter "alignDistributeItems" of method "distribute". Expected array of PageItems, but received (Page,Page,Page).Expected: I can align pages in the UI via Align panel so I expect I can do the same in scripting.
1 vote -
Section addition applescript splits last spread (applescript only)
Version
InDesign 16.4.1 CC2021 (macOS 10.16 Mojave)
Only in applescript, not in javascript.Steps to reproduce the issues
step1. prepare a spreads document. Total number of pages must be an odd number.
step2. Use AppleScript to set the new section at even-numbered page.Expected result
The state of the spread is not changed.actual result
The spread at the end is split into two spreads.--code
main()
on main()
mySetup() of me
…tell application "Adobe InDesign 2021" set mydoc to document 1 set mypage2 to page 2 of mydoc tell mydoc set newsection to make section with properties {continue numbering:false,
1 vote -
cells selection
Bug 1:
See "Table 1" in the provided screenshot.
Make a table with 3 columns and 3 rows.
Merge the first 2 cells of the first row.
Now you have 2 cells in the first row. (A and B).
Set the contents of other cells to C, D, E, F, G, H.
Now select cells B, D and E.
If you click on the Edit menu, InDesign crash.
If you choose File -> Export, InDesign crash.
On the scripting side, calling document.selection throw an exception and it is not possible to get the current selection.Bug 2:
See "Table 2"…1 vote -
findGrep() causes Indesign to hang and consume all available resources, eventually crashing the entire computer
This code will cause InDesign 17.1 to hang and consume all available resources until the computer eventually runs out of both real and virtual memory and then crashes.
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findChangeGrepOptions.properties = { includeMasterPages: true, kanaSensitive: true, widthSensitive: true };
app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = '^(.*)$';var found = app.documents[0].changeObject.findGrep();
If the runaway app is terminated using Task Manager (Windows 10), a stack of message boxes appear with the following message:
Unable to terminate process
The operation could not be completed
The operation is not valid for this process1 vote -
Custom menus created by script stay after relaunching InDesign
There's a bug in InDesign 2022 where custom menus created by a script stay after relaunching InDesign.
How to reproduce:
-Run this AppleScript script which will create a menu titled Custom Menu:
tell application "Adobe InDesign 2022"
tell menu "$ID/Main" to make submenu with properties {title:"Custom Menu"}
end tell-Relaunch InDesign
The menu Custom Menu will still be there. While it should NOT be there unless explicitely created by a script again.
The only way to remove it is to run a separate script that specifically removes the menu.
It's a big problem for third-party software: for example, where users…
1 vote -
1 vote
-
close book in event handler is out of sync
function closeBooks() {
var books = app.books.everyItem().getElements();
var i, ilen = books.length;for (i = 0; i < ilen; i++) { if (books[i].modified) { books[i].close(SaveOptions.ASK); } } alert('done');
}
if you call the closeBooks function, everything works fine.
But if the function is used as a handler, the "done" message appears immediately, before the for loop complete.try adding a beforeQuit eventListener:
app.addEventListener('beforeQuit', closeBooks);and close InDesign having one or more modified books to see this (strange) behaviour.
The same function works fine if you target documents.
InDesign CC2021 16.2.1 on MacOs Catalina 10.15.7
1 vote -
Can't read XML attributes from tagged image contained into table
Can't read XML attributes from tagged image contained into table.
Hello, I have some problems when I use one script Javascript to read XML attributes of tagged images contained into tables.
One XML file with data is imported into document with existing XML structure. In attached example there is a simply structure with one tagged text frame. When importing XML data, text frame contain one simply tagged table with one tagged image into one cell.
In earlier versions of Indesign (up to CC 9.2) this script works fine.
In later versions this script not read correctly these attributes: in CC2020…1 vote -
batch open/close documents with script consumes lots of memory
I have used the script to convert indesign files to idml or vice versa. It works as I expected.
yet while I want to run another script during batch process to each file the memory which indesign consumes during process dramatically increasing.
while normal batch process consumes at least 1GB for 100 document, with running script file with some process consumes at least 40-50GB RAM and It causes computer no to respond
1 vote -
My version is the latest, but I still can't use scripts "multipage importer". When I click on the script, the in-design program stops. I
My version is the latest, but I still can't use scripts "multipage importer". When I click on the script, the in-design program stops.
0 votes
- Don't see your idea?