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)
41 results found
-
1 vote
-
IOS picking up URL in plain Text
Creating a QR using the "Plain Text" option, to generate a note when scanned. There are a few URL's within the plain text. Android phones are picking up the QR code as intended, opening a note on their phone. However, iPhones are picking up the first URL in the plain text, despite it being 1/3 of the way down the text. It doesn't matter what the URL is. Third party cameras and Android cameras work fine, iOS cameras don't.
1 vote -
[ExtendScript] app.findObjectPreferences.fillColor and strokeColor gives error
Indesign version 18.2
OS: MacOS 13.2.1Steps to reproduce:
1. New document (assuming default swatches)
2. Run script
app.findObjectPreferences = NothingEnum.NOTHING;
app.findObjectPreferences.strokeColor = app.activeDocument.swatches[5];
Expected result:
sets strokeColor or app.findObjectPreferences to swatch[5] of documentActually result:
throws errorException has occurred: 30477 ×
Invalid value for set property 'strokeColor'. Expected Swatch, String or NothingEnum enumerator, but received Color.OR if I supply a swatch name String instead of a swatch, I still get an error, so this
app.findObjectPreferences = NothingEnum.NOTHING;
app.findObjectPreferences.strokeColor = app.activeDocument.swatches[5].name;
throws error: Invalid value for set property 'strokeColor'. Expected Swatch, String or NothingEnum enumerator, but received "C=0…1 vote -
ID crashes when call method "createHyperlinkQRCode" on Rectangle from "afterOpen" event handler
ID 18.1 Windows 10
I'm trying to develop a script that updates the QR code (creates anew in the same Rectangle ) when the document is opened.
The Startup Script sets the event handler of the "afterOpen" event, where the "createHyperlinkQRCode" method is called on the found Rectangle object.
In this case, InDesign crashes with an error
<crash exception="EXCEPTION_ACCESS_VIOLATION" exceptionCode="0xc0000005" instruction="0x00007FFD49229914">Creating a QR code manually through the main menu does not cause errors. The error does not occur when the script calls the "createHyperlinkQRCode" method on the Document object. But in this case, I have to point with the…
1 vote -
Duplicated AllPageItems collection when nesting Table inside another Table
1 create new blank document, 1 page, no primary textframe
2 creatte empty TextFrame,
3 insert Table [2x2],
4 insert another Table [2x2] to the 1st table - into 1st cell,
5 insert another Table [2x2] to the 2nd table - into 1st cell,
6 now insert image into 3rd table - from step 5 - as InLine object after a space - so the cell is not converted into Graphics cell,
7 run script:var items = app.activeDocument.allPageItems;
for (var i = 0; i < items.length; i++)
$.writeln(items[i].toSpecifier());Expected result:
/document[@id=1]//text-frame[@id=246]
/document[@id=1]//rectangle[@id=286]
/document[@id=1]//image[@id=282]Actual result:
/document[@id=1]//text-frame[@id=246]
/document[@id=1]//rectangle[@id=286]
/document[@id=1]//image[@id=282]
/document[@id=1]//rectangle[@id=286]…1 vote -
Print Booklet
Print Booklet error .. Won't print PDF, stops loading at page 6 of 16 page document quoting unknown error
InDesign 2023 updated
Critical document .. No Errors in document1 vote -
ScirptUI: in events `app.activate();` doesn’t work on Mac
Version of Adobe InDesign
allSteps to reproduce the issues
* Build a ScriptUI palette with a button (or any other element).
* Give the button a.onClick
event with aapp.activate;
to give the programm’s focus back to InDesign.
* Try to perform an InDesign shortcut (such as "command f" to show the built-in find dialog or any other you prefer).Expected result
The focus of the programm should be given back to InDesign and the called action in InDesign should be performed (such as showing the find dialog).Actual result
The focus remains on the ScriptUI palette and…1 vote -
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 -
InDesign does not load type library on upgrade
Similar to the 2020 release (see https://indesign.uservoice.com/forums/601180-adobe-indesign-bugs/suggestions/41072476-type-library-is-not-automatically-created-by-cc202), InDesign 2022 does not install the type library in upgrade. Please include this with the installation, as this will cause errors for many users.
Error message: Error: Unable to load Adobe InDesign 2022 Type Library (Version 1.0).
1 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 -
export layers to photoshop
would be so nice to have a way to export inDesign layers to Photoshop file. (would save hundreds of hours to rebuild all these files!)
1 vote
- Don't see your idea?