Photoshop CC 2015: Script UI Listbox columns do not work anymore

  • 6
  • Problem
  • Updated 9 months ago
  • In Progress
  • (Edited)
Just updated from CC 2014 to CC 2015 and my scripts broke (https://github.com/gimblll/GBL-Textur...). After debugging I've narrowed it down to the use of a listbox with columns. For some reason the new version fails to create the columns.

I narrowed it down to a short example. This fails to produce columns in 2015. And if the commented line is uncommented, I get a "Not implemented" error. (And all this works in 2014.)

var win = new Window("dialog", "Test Window");

var panel = win.add("panel");
panel.alignChildren = ["fill", undefined]
panel.preferredSize = [1000, undefined];

var list = panel.add("listbox", undefined, undefined, {
numberOfColumns: 2,
showHeaders: true,
columnTitles: ["Id", "Resize", ],
});

list.preferredSize = [undefined, 100];

var item1 = list.add ("item", "Test1");
// item1.subItems[0].text = "Test2";

win.show();
Photo of Kimmo Lahtinen

Kimmo Lahtinen

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 4 years ago

  • 6
Photo of Kimmo Lahtinen

Kimmo Lahtinen

  • 3 Posts
  • 0 Reply Likes
Still no fix for this in latest update. Is there any hope this will get fixed/reimplemented or is the functionality deprecated? Would highly appreciate some kind of answer to clear it up.
Photo of Romain Bouvard

Romain Bouvard

  • 1 Post
  • 0 Reply Likes
Any possibility to replace this hack by a proper table UI? As mentioned by Kimmo, it will be great to have some news.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15462 Posts
  • 2292 Reply Likes
Engineering is looking into this.
Photo of Martin Dahlin

Martin Dahlin

  • 6 Posts
  • 0 Reply Likes
Any update on this issue? It's a very frustrating issue and there are no workarounds.
Photo of Martin Dahlin

Martin Dahlin

  • 6 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled ScriptUI listbox broken in PS CC.

I've created a user-interface using ScriptUI and I'm having problems with the listbox control which I've nailed down to be entirely Photoshop-specific.

I first create the listbox control and when trying to populate it with subItem -components using a with-block, I get the following error in ESTK: "Not implemented".

I've tested the code with another target (#target estoolkit and also #target illustrator) and in these applications it runs just fine.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15462 Posts
  • 2292 Reply Likes
It's still open, to be fixed.
Photo of Martin Dahlin

Martin Dahlin

  • 6 Posts
  • 0 Reply Likes
Great! Any ETA?
Photo of Sergey Kritskiy

Sergey Kritskiy

  • 50 Posts
  • 23 Reply Likes
Also encountered this. It took them 5 years to fix the smudge tool so I guess we'll have to wait only 3 or 4 years
Photo of Namodaya Balaarachchi

Namodaya Balaarachchi

  • 1 Post
  • 0 Reply Likes
Is there are a way to create table for supporting Photoshop CC 2014 and 2015 using Photoshop Scripting?
Photo of Hannah Nicollet

Hannah Nicollet, Quality Engineer

  • 725 Posts
  • 328 Reply Likes
Official Response
Hi Everyone,

This issue should be resolved in today's update to Photoshop, 20.0. Please open the Creative Cloud app, download the update and let us know how it goes for you. If you do not see the update immediately, sign in and sign out of the Creative Cloud.

Thanks,
Hannah
Photo of Kimmo Lahtinen

Kimmo Lahtinen

  • 3 Posts
  • 0 Reply Likes
Seems to work in my use case, thank you.