Illustrator (Desktop) Bugs
When reporting a bug, please provide a detailed description with the following:
- Details of your operating system
- The version of Adobe Illustrator (desktop)
- The steps you were taking when you experienced the issues
- Your expected result and the actual result
- Upload your Illustrator file or a video (screen recording or gif, this helps us most to reproduce the issue and resolve it)
86 results found
-
[ExtendScript] Line feed \u000A character assigned to text contents is converted to carriage return
MacOS 13.3.1, Adobe Illustrator 27.4.1
Also reported on Windows same version of Illustrator.Steps to reproduce.
To see problem, run this script
```
(function () {var doc = app.documents.add(); var tf1 = doc.textFrames.add(); tf1.position = [100, 100]; tf1.contents = 'Break\u000Ame.'; alert('Linefeed (10)\n charCode = ' + tf1.contents.charCodeAt(5)); var tf2 = doc.textFrames.add(); tf2.position = [200, 100]; tf2.contents = 'Break\u0003me.'; alert('End-of-text (3)\n charCode = ' + tf2.contents.charCodeAt(5));
})();
```
I would expect the text on the left to have a line feed (u+000A) character, but it is converted to a carriage return (u+000D).
The text on the right is a workaround,…4 votes -
Incorrect word count via script
At some point (I think v27) Illustrator has changed its word counting/division algorithm.
So, where previously the results were sensible:
"This.Was.Four.Words" — word count: 4
"This.Is.3.Words" — word count: 4
"I.WF05f.07.AB.000" — word count: 5
"I.WF05f.AB.07.000" — word count: 5In version 27.4 the results are now confused:
"This.Was.Four.Words" — word count: 1
"This.Is.3.Words" — word count: 3
"I.WF05f.07.AB.000" — word count: 4
"I.WF05f.AB.07.000" — word count: 2For a discussion on the topic, and a testing script, see this thread.
Note: maybe this bug was introduced while fixing this bug.
6 votes -
getSystemPath using CSInterface throws URI Malformed error
I was trying to get the my documents folder path of the system using CSInterface getSystemPath function. It works in most of the cases. But it throws URI malformed error (refer the screenshot below), if the path of the documents folder contain characters from languages other than English.
I debugged the CSInterface.js file at line 521. And I found that the below piece of code returns the path of the folder without encoding the characters from languages other than English.
window.adobe_cep.getSystemPath(pathType)
IN MY CASE:
Path of documents folder: "C:\Users\sanjay\OneDrive - Élégante\Documents".
window.adobe_cep.getSystemPath(pathType)
// Returned value -…1 vote -
Applescript Artboard Name no longer works
Getting/Setting name of artboard no longer works. It used to work fine. It is an issue with class of properties. All options Fail.
1. name of (get properties of artboard 1) -- error
2. get item 7 of properties of artboard 1 -- error
3. name of artboard 1 -- always failedIf you insert «class bAl9» in place of Name and compile, it does not fail however will fail next time since the dictionary replaces it with Name
1 vote -
Cant' get character properties (AI ver26.4. ~)
AI ver 27.0.1 bug , too
2 votes -
CEP Extension Window MinSize Change On Mac OS When UI Scaling Large
CEPエクステンションで、
ウィンドウサイズを最小サイズに変更するボタンを設置しようとしていますが、
Mac版でUIスケール拡大時、スクリプトで手動変更の最小サイズまでリサイズできません。1.お使いのオペレーティングシステムおよび Adobe Illustrator (デスクトップ版) のバージョン
Illustrator2022,2023 MacOS2.問題が発生したときに実行していた手順
ユーザーインターフェイス>UIスケール
小から大に変更
エクステンションの最小幅200、最小高さ400
ウインドウサイズへ変更ボタン(CSInterface.resizeContent(200,400)が実行される)を押す3.想定していた結果
最小サイズまでウインドウサイズがリサイズ実際の結果
リサイズされない■詳細■
Windows版では、UIスケールを拡大した時は、
エクステンション自体が拡大表示されいて、特に問題ありません。ところがMac版で、UIスケールを拡大した時
ウィンドウサイズのみ拡大されて、
エクステンションの中身は拡大されません。
このことは、別にOS差の仕様の違いとして、許容範囲内なのですがmanifest.xmlにて
<MinSize>
<Height>400</Height>
<Width>200</Width>
</MinSize>
と設定していて、
CSInterface.getScaleFactor()で取得したScaleFactorが1.25の時ウィンドウ幅を最小にした時のサイズが
Chromeでのデバッグで表示されるサイズは313px
になっていて、設定サイズよりも大きくなり、
想定した幅まで最小化できなくなります。また
CSInterface.resizeContent(width, height)でのリサイズはCSInterface.resizeContent(300, 500)
→ width: 375 (設定値:300×ScaleFactor:1.25)
height: 625 (設定値:500×ScaleFactor:1.25)
設定値×scaleFactorのサイズになるので
高さを維持して、幅だけ変えたいときとか、ScaleFactorを意識しないといけないため
不便に感じます。ただ、これも仕様を把握していれば、なんとか対応できます。
困っているのは、
illustrator2022,2023(Mac)にて、
CSInterface.resizeContent()の許容値がおかしいことです。
manifest最小値、最大値の範囲内なら、有効のはずですがIllustrator2022,2023(Mac)では、
NG) CSInterface.resizeContent(200,400)
NG) CSInterface.resizeContent(249,500)
OK) CSInterface.resizeContent(250,500)
となっていて、
有効範囲までScaleFactor分拡大されています。しかし、先に述べた通り、
CSInterface.resizeContentでは、設定値×scaleFactorで設定されるので、
手動で変更可能な最小幅×ScaleFactorまでしか、スクリプト上では変更できません。
(設定最小幅200、ScaleFactor1.25のとき、
現在の手動最小幅250にしたいのに、313までしかスクリプトから変更できない)Illustrator2021(Mac)では
CSInterface.resizeContent(200,400)が動いて、
ウィンドウサイズを最小サイズまでリサイズできます。Mac版でUIスケール拡大時、スクリプトで最小サイズまでリサイズできるように
修正お願いします。1 vote -
BridgeTalk.getSpecifier( "estoolkit") no longer works in Illustrator 2022 & 2023. Returns null
I have a script that runs in Illustrator and needs to send progress information to a ScriptUI user interface running in Extendscript Toolkit. Since Illustrator 2022, the function call BridgeTalk.getSpecifier( "estoolkit") returns null. As a result, my script is unable to send messages to Extensscript Toolkit. My workaround has been to use Illustrator 2021, where this functionality still works. It works in Illustrator 2020 & 2021 but does not work in Illustrator 2022 & 2023.
1 vote -
ver26.4.1で、AppleScriptでcharacterのpropertiesが取得できなくなった
ver26.3.1までは取得できました
2 votes -
Illustrator 2021 and 2022 crash when trying to run an action from a script
Attempting to run any action from applescript or javascript is always resulting in Illustrator 2021 or 2022 immediately crashing for me.
I've tried on multiple computers, and running it on a fresh install of AI 2022 with no settings changed.
Tested on MacOS Mojave, Big Sur, and Monterrey
It doesn't matter which Action or Action Set is used, I've tried the included "Default Actions" and others.
The identical scripts work fine from AI CC2020 back to at least AI CS6.
For example, I can copy and paste this straight from Adobe's ADOBE ILLUSTRATOR CC SCRIPTING REFERENCE: APPLESCRIPT:
tell application "Adobe…
2 votes -
pathfinder - unexpected behaviour inside script
when I select two compound paths and subtract, I get a fully selected group.
If I create an action consisting of just the pathfinder operation and run it from the actions panel, the result is identical.
If I call this action from extendscript, the group sometimes is only partially selected. - and the following steps produce unexpected results :(
It turns out that adding an extra object.selected = true can help.
I observed this in 2022 edition, I have the impression that this did not happen in 2020 edition2 votes -
Image Trace API is broken
Please watch the video attached.
1. Rename the attached .txt. file to .js (UserVoice does not allow to attach scripts directly)
2. Select a raster image in Illustrator and try to run the script the way it’s shown in the video, with line 11 and 12 commented, mutually exclusiveWith TRACINGFULLCOLOR on it is expected to have the 'Palette' dropdown switch to Full Tone, but it gets set to Limited.
On the contrary, TRACINGLIMITEDCOLOR should give Limited for 'Palette', but it gives Automatic.
These are obviously swapped.
Also notice how all advanced options become 50%.
24 votes -
Recolor artwork using scripting
Please add the recolor artwork functionality to the scripting DOM. We need this.
2 votes -
Scripting Issue on MacOS Monterey
We had this script for Illustrator that will export PDF and images with predefined presets. This was working until some of our team upgraded their macOS to Monterey.
When they tried to run the script it will create a PDF and images with different file names, we are expecting that it will have the same file name from the AI file.
EXPECTED RESULT:
AI File: 02020-MVP-3.ai
Exported Files:
- 0202-MVP-3-THUMBNAIL.png
- 0202-MVP-3-FULL.png
- 0202-MVP-3.pdfACTUAL RESULT:
AI File: 02020-MVP-3.ai
Exported Files:
- ai1655486566390202-MVP-3-THUMBNAIL.png
- ai1655486566390202-MVP-3-FULL.png
- ai165548656639_0202-MVP-3.pdfOperating System: MacOS Monterey 12.4
Adobe Illustrator: Adobe Illustrator 2022Object…
2 votes -
Scripts ran via actions do not select properly
Dear developers,
A few days ago I wrote a simple script which uses pathfinder to unite paths. This works perfectly when the script is ran via File > Scripts. But when added to an action and ran the script seems unable to select the proper layer and thus fails to run pathfinder.
For a detailed rundown, analysis and files please visit the community forms post: https://community.adobe.com/t5/illustrator-discussions/script-ran-via-actions-does-not-select-properly/td-p/13032773
Technical details:
- Microsoft Windows 10 Pro version 10.0.19043 Build 19043;
- Adobe Illustrator 2022 version 26.0.3 (64 bit)Kind regards.
8 votes -
textRange.words counts words wrong in a wrong way
If you try to calculate a number of words and store them for later using textRange.words and a punctuation marks placed one space after the word, as demonstrated in the video, Ai cuts words in wrong places, resulting words being trimmed.
This breaks all scripts that rely on this method.
You have to rename 'words-bug.txt' into 'words-bug.js' and 'words-bug.pdf' to 'words-bug.ai' to test it, since UV does not allow to upload these type formats.
10 votesAs per the comment, the bug is 'fixed' in 27.4, by creating another bug — https://illustrator.uservoice.com/forums/601447-illustrator-desktop-bugs/suggestions/46537261-incorrect-word-count-via-script
Please check and upvote the problem
-
broken: reading File date properties
Unable to read date properties from a File on Mac (does work on Windows)
alert(app.activeDocument.path.modified)
alert(app.activeDocument.path.created)// always returns null as if file is not saved
I tested on:
Mac mini M1, macOS Montery 12.3.1, Ai 26.2.1 and Ai beta 26.4.2
Macbook Pro Intel, macOS Catalina 10.15.7 Ai 26.2.12 votes -
how can a note have more than one value?
this file shows a situation where the note shown in the attribute panel differs from the note visiblefor a script. There were about fife occurences in a file of about 500 art objects. I picked one and removed everything else, and also replaced the artwork by a plain rectangle.
To view the error, select the square and view the attribute panel
Then run this extendscript:
var doc = app.activeDocument;
var obj = doc.selection[0]
alert(obj.note)BTW: I could set proper values with a simple jsx that sets the note from the contents of a text field
1 vote -
Text Frame loses UID when moved along with compound path art in a different layer
OS: Windows 10 Pro
Illustrator 2022Steps to reproduce issue:
Create a text frame and a compound path art in different layers
Add UID to textframe using SDK
Select both textframe and path art together, then move them
Text frame loses UID, so we cannot get text frame using UID anymore
This happens even if we saved the file after adding uid, closed and re-opened it1 vote -
IUStringUnitsToAIReal doesn't recognize comma as decimal separator
std::string input_ = "1,5"; // From Adobe header: The string to convert, which uses the localized international utilities (IU) decimal separator.
AIReal n;
sAIUser->IUStringUnitsToAIReal(ai::UnicodeString(input_), &n);This function interprets the text "1,5" as "15" even when the locale is set to a country where the system uses a comma decimal separator. Related functions IUStringToAIReal recognizes the comma, though.
4 votes -
Unable to control third party applications with AppleScript
This is essentially the same issue as https://community.adobe.com/t5/indesign-discussions/indesign-16-3-2-not-authorised-to-send-apple-events-to-other-apps/td-p/12312871 except for Illustrator.
Illustrator is missing the NSAppleEventsUsageDescription key from its info.plist file. This prevents the system from asking permission from the user to send apple events from Illustrator.
Mac OS 11.5.2
Illustrator 25.4..1To recreate:
in terminal
tccutil reset AppleEvents com.adobe.illustratorsave the following AppleScript and place in the scripts menu for illustrator.
tell application "Finder"
display dialog "test"
end tellExpected result:
dialog in finderActual result:
AppleScript error: Not authorized to send Apple events to Finder. (-1743)2 votesI am happy to share that we have fixed this bug in our latest release – 26.3.1 which is available worldwide now.
Going forward, our goal is to fix as many top User-Voice bugs as possible and as frequently as possible. Given the nature of the fixes, some of the bugs will take a longer time to fix, but we are on it.
You can update to the latest release using Creative Cloud desktop App: https://helpx.adobe.com/in/creative-cloud/help/creative-cloud-updates.html
Thank you for all the feedback. Keep it coming!
- Don't see your idea?