Skip to main content
Silly-V
Legend
December 1, 2017
Question

Weird layer-renaming issue.

  • December 1, 2017
  • 7 replies
  • 4837 views

On Win7, PS 19.0 I am encountering a strange issue with renaming layers.

It boils down to these steps:

  1. start a fresh PS
  2. Rename a layer manually works just fine.
  3. Run a layer-making script
  4. Now, renaming layers manually is nearly impossible: you double-click the desired layer to enable editable layer name text, but only have 1 second to type in the entire input before it automatically sets.

What's worse, after this the layer issue persists even in new documents, all the way until app restart.

This is my layer-making script:

#target photoshop

function test(){

  var doc = app.activeDocument;

  var arr = [

    "Name 1",

    "Name 2"

  ];

  var newLayer;

  for(var i = 0; i < arr.length;  i++){

    newLayer = doc.artLayers.add();

    newLayer.name = arr;

  };

};

test();

Has anyone come across this?

This topic has been closed for replies.

7 replies

Jarda Bereza
Inspiring
August 4, 2018

In my PC this issue is caused by ESTK linked to PS. If you unlink this connection then it is ok.

Kukurykus
Legend
August 4, 2018

In my case it's of course caused by ESTK after I choose / target Photoshop from its dropdown list. But it's not enough to choose ESTK as target from that list back. Ps still acts the same way untill I relaunch ESTK. Do not you have the same?

Jarda Bereza
Inspiring
August 4, 2018

I have it same but I usually click the icon with the link and then it is fine without a problem.

Kukurykus
Legend
July 25, 2018

With CC 2018 it's quite decent behaviour, but with CS6 EXTENDED there are much more fields you can't use because of this side effect. Plus I noticed not everything can be written to ScriptListener when you have open at same time ESTK with CS6.

Silly-V
Silly-VAuthor
Legend
July 25, 2018

This was an interesting note, for whomever may experience this issue on their Ps 19.0 on Win7 with Kaspersky AV running - but alas now I work at a different place where we use Macs - so far so good.

Kukurykus
Legend
July 25, 2018

Like r-bin my interence is different. I can't agree that Kaspersky AV was culprit of it. There is some other internal cause...

oliverIntergrafika
Inspiring
December 3, 2017

ESTK is possibly constantly calling .jsx code to monitor the ToolVM.
My experience is: when I run an evalScript on layer select to lock the layer's timeline xy coordinates, my layer renaming attempt is failing and the name edit PS routine is exiting. I have to select the layer first, wait for my .jsx to finish, doubleclick the layer name and rename it.

One good change I have noticed in v19.0 is: the CSXEVent are coming again to panels in real time. This can cause a slight slowdown in .jsx execution. Add this to ESTK interference lag, consider the blocking nature of these ToolVM calls and maybe we have the cause of the renaming bug.

Chuck Uebele
Community Expert
Community Expert
December 2, 2017

Yes, running things from ESTK messes up a lot of things like actions. I reported it to Adobe some time ago, but not high on their to-do list, if at all.

JJMack
Community Expert
Community Expert
December 2, 2017

Chuck Uebele wrote

if at all.

The if at all list grows and grows....

JJMack
Legend
December 1, 2017

Do you have any "keyboard program" a la "punto switcher" or similar?

Silly-V
Silly-VAuthor
Legend
December 1, 2017

AutoHotKey, and SharpKeys which maps my Mac keyboard to my Win PC. I just love the Mac keyboards, and only recently did PC manufacturers start to make similar keyboard where keys are spaced apart and don't resemble Fisher-Price building blocks.

Legend
December 1, 2017

Try to temporarily disable them

Silly-V
Silly-VAuthor
Legend
December 1, 2017

As a comment: I've always thought that Illustrator's UI was dumb regarding the layers, etc - where there's a spot in the flyout menu touting some 'Layer Options' or 'Graphic Style Options' where I would expect a bunch of options to appear but where a rather disappointing modal dialog pops up with just a single text input which allows you to change the layer's name, or graphic style's name.

Now that you can double-click the layer and type it in, it's so much faster! Right?

Well, now that this issue came up for me in PS, I'm finding a new great appreciation for such archaic leftovers: in PS there's not even a modal dialog place for changing the name! Now, how I wish there was! No wonder people were write all kinds of layer-renaming input dialog box scripts..

[EDIT] Of course, as pointed out below, the renaming option is in the [Menu bar > Layer > Rename Layer] menu item

Participating Frequently
December 1, 2017

Do you have Scripting Listener installed?   Remove it, and the issue should be resolved. 

Participating Frequently
December 1, 2017

Also with version 19.0  I noticed with scripting listener installed, some actions (like creating a large Lasso selection)  REALLY bog Photoshop down, with a all the details of the exact selection getting kicked out to your log.     Personally I like that SL is kicking out more information!  so I'll take the slowdown, or remove it when I'm not using it, but just FYI. 

Silly-V
Silly-VAuthor
Legend
December 1, 2017

Do uoy try menu Layer->Rename Layer command? It works ok?


Hey! I was actually blissfully unaware of this menu item, but to answer your question: NO! Haha! It's even worse! Clicking the menu item produces a very short flicker of layer's name text activating before it reverts back almost instantly!

What an interesting quirk!