Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Illustrator ExtendScript dropdownlist buggy display

Participant ,
Jun 19, 2025 Jun 19, 2025

Screenshot 2025-06-19 at 4.15.34 PM.pngWhen using the Extendscript code below to display a dialog in Illustrator, the dropdownlist display is buggy the first time entering the window, either showing things in duplicate or making a larger size.

Troubleshooting:

  • Widened the popup and dialog widths and heights and still had the issue
  • Tried Illustrator 2024 and 2025 - both problematic
  • The same code doesn't present any issues when run within Photoshop

 

Testing Environment:

  • 2023 MacBookPro M3 Max
  • macOS Sequoia 15.5
  • Adobe Illustrator 2025 (29.5.1) and 2024

 

var dialog = new Window("dialog", "Choose");
//dialog.preferredSize.width = 300; 

var popup = dialog.add("dropdownlist", undefined, ["First Selection", "Second Selection", "Third Selection"]);
popup.selection = 0;
//popup.preferredSize.width = 200; 

dialog.add("button", undefined, "OK", { name: "ok" });
dialog.show();
TOPICS
Bug , How-to , Scripting
353
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Jun 19, 2025 Jun 19, 2025

I believe it was a font cache issue... clearing htem out appears to have resolved it.

Translate
Adobe
Community Expert ,
Jun 19, 2025 Jun 19, 2025

Hi @Chris.S I tested your code on MacOS 15.5, AI 29.5.1 and it worked normally—no glitching. What platform and Illustrator version are you running? Also does it persist after restarting Illustrator?

- Mark

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 19, 2025 Jun 19, 2025

Tested on MacOS 15.5, AI 29.5.1 (and 28.7.7) with my 2023 MacBookPro M3 Max. Same issue whether on the laptop display, LG, Studio Display or EIZO. Issue persisted after resetting Illustrator preferences, restarting Illustrator and restarting the computer. Changing display resolution and refresh rate had no impact. I believe cleaning the font caches was the solve.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 19, 2025 Jun 19, 2025

This appears to be an issue with UI scaling. Try to edit UI scaling in your Display resolution on your operating system.
It may then show all the items, but your screen may get really small-detailed.
However, it's possible to cycle the dropdown options using the arrow keys, and it may be also an alternative to create a custom "popup" dialog which has a ListBox, and here you can build in a fuzzy-search input to help filter or find any list items.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 19, 2025 Jun 19, 2025

I believe it was a font cache issue... clearing htem out appears to have resolved it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 19, 2025 Jun 19, 2025
LATEST

That's good to know! Thanks for sharing the solution which worked for you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines