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)
57 results found
-
[Scripting] Document.findObject() incorrectly targets activeDocument
System: Indesign 18.4, MacOS 13.4.1
To reproduce:
1. Open two documents, each with a filled frame 100% tint.
2. Run attached script "findObject bug.js"
3. Note the console output.
4. Refer to this forum post for notes and commentary.Expected result:
doc.findObject() will return found items from both open documents.Actual result:
doc.findObject() returns only items from active document.Note that using app.findObject() is not a viable workaround in some cases, such as the issue in this post.
4 votes -
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 -
email QR Codes don't work with MATMSG formatting
InDesign 18.1 on Mac OS 13.2.1 Ventura - Data merge for email QR codes specifically doesn't work, and your documentation is frankly non-existent. Using the MATMSG format doesn't produce a working QR with Data Merge, but using HTML format mailto in Plain Text does. I'm sure I'll run into the wrong version VCARD problem soon, too.
This is consistent using the MATMSG format in a .csv with data Merge. Using the manual entry isn't a workable option due to the quantity of codes being generated.
2 votes -
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…
4 votes -
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 -
InDesign: Insert authors document's metadata without quotes
Version
Adobe InDesign up to 2023.Steps to reproduce the issues
Setting the active document’smetadataPreferences.author
with multiple authors, separated by comma or semicolon in a string via extendscript:
app.activeDocument.metadataPreferences.author = "Elric Wade; Anne Emu; Sophie Kumpir";
Expected result
The authors should be placed into the "Author" metadata field, separated by comma or semicolon.Actual result
The authors are placed into the "Author" metadata field, but all set within double quotes, so they appear to be one author, not multiple authors.Test file, screenshot, video or GIF capturing the issue (optional)
See attached screenshot.Please make it possible to add…
2 votes -
matchPreviewBackgroundToThemeColor resets pasteboardMargins to [0,0]
In a script, app.activeDocument.pasteboardPreferences.matchPreviewBackgroundToThemeColor to 1 causes app.activeDocument.pasteboardPreferences.pasteboardMargins to reset to [0,0].
Furthermore, setting the pasteboardMargins doesn't work after setting app.activeDocument.pasteboardPreferences.matchPreviewBackgroundToThemeColor to 1.
(While matchPreviewBackgroundToThemeColor is set to 0 everything works fine.)
2 votes -
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 -
masterSpread.primaryTextFrame can't be set in jsx
See: https://community.adobe.com/t5/indesign-discussions/create-primarytextframe/m-p/13362907#M503701
The primaryTextFrame property under masterSpread doesn't seem to work. If there is an existing PTF on the spread, then mySpread.primaryTextFrame.isValid resolves as true, but it cannot be set to NothingEnum.NOTHING/null, and a non-PTF on the spread cannot be assigned to mySpread.primaryTextFrame.
4 votes -
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 -
Cell object is null!
I get the third merged cell as null. Why is that?
Please to get the error First create new document and table 3 by 3 and merge and select cells like screenshot. Execute the script.
var sel = app.selection[0];
var queuedCells = getQueuedCells ([sel]);
function getQueuedCells (deepCells) {
var queuedCells = new Array;
if (deepCells.length > 0) {
targetIndex = null;
targetIndex = deepCells[0].parentRow.index;
for (var dcs = 0; dcs < deepCells.length; dcs++) {
for (var dcc = 0; dcc < deepCells[dcs].cells.length; dcc++) {
alert ("(deepCells[" + dcs + "].cells[" + dcc + "] != null) " + (deepCells[dcs].cells[dcc] !=…2 votes -
Object Styles within Object Style Groups cannot be set to Document.pageItemDefaults (Scripting)
See this thread in community forum: https://community.adobe.com/t5/indesign-discussions/script-cannot-set-an-object-style-as-a-default-frame-style-if-this-style-is-inside-a-folder/td-p/13062809
If an object style is within a group, it cannot be assigned as the appliedTextObjectStyle in Document.pageItemDefaults. Have not checked whether the same is true for appliedGraphicObjectStyle
4 votes -
appliedLanguage property of text-related objects returns language from application, not document
When I do configuration for a language in a document, such as setting doubleQuotes, this language can be found in the document object's list of languages and has a different id than the language with the same name in the application object's list.
But when I access text inside the document – regardless what I inspect, paragraph, words, character, textStyleRange – I expect to get the language properties as set in the document, but instead I get those as set in the app.
I believe this to be a software bug.
More information as well as a workaround can be…
4 votes -
AdobeXMPScript v 17.2.0.20
Windows 10
Adobe InDesign CC2022 (v 17.2.0.20)
ExternalObject.AdobeXMPScript = new ExternalObject( "lib:AdobeXMPScript" )
returns
ERROR: 52, I/O error
Unable to load the AdobeXMPScript library!7 votes -
Convert Footnotes and Endnotes problem and a bonus scripting problem with special characters
Indesign 17 on MacOs 12.3.1
Convert Footnotes and Endnotes does not work when the footnotes does not have a footnote number.
I have an Indesign document with footnotes.
In each footnote I have removed the footnote number and the following tab character. (~F\t)I need these footnotes to be endnotes but this is not possible with the command "Convert Footnotes and Endnotes".
Without the footnote number in the footnotes the command/script does not recognise the footnotes as being footnotes.
They are however still footnotes and I can continue working with them as footnotes and also address them via scripting but…
2 votes -
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
- Don't see your idea?