Potential bug when trying select a layer that starts with a dash (-)

328 views8 repliesLast post: 3/12/2009
Hi, I'm wondering if anyone is able to confirm this... I've got a text layer that starts with a dash (-) and I'm unable to select it via the contextual menu when I right click it (or control-click) on the canvas. For example, create 2 text layers containing "test" and "-test".

I'm on CS4 11.0.1 running on a MacBook Pro OS X 10.5.6. Thanks!
#1
I tried it and they both become targeted in the Layers Panel normally here.

Are you Control clicking on the composite image exactly on the actual Text itself?
#2
Probably because the OS menu system treats items starting with a dash as a menu separator. Photoshop needs to custom filter out names with a dash (and we don't).
#4
Ann, what OS and Photoshop versions are you running?

Chris, do you have suggestions for how I might correct this on my end?
#5
I am using CS4 on OSX 10.4.11.

I have just checked it again and the "-Test" Layer (with a hyphen) is targeted by Cmd Clicking on it but Control Clicking produces the "Show Similar" — and then targets both Type layers.

However, "_Test Layer" (with an under-score) which is what I had when I first tested this earlier on, DOES show in the list when you Control Click on it.

The real point is that you can always re-label the names of your Layers.
#6
Sorry for the confusion, didn't mean to throw you off by calling it a dash. While inconvenient, re-labeling the layers will work fine. Thanks for taking the time to confirm this bug.
#7
v6 - I don't think you can change it on your end.
It's a limitation of the OS, that Photoshop failed to work around (I guess we didn't think about people naming layers with a hyphen as the first character).
#8
Ok, thanks. I feel the probability of users manually naming layers with a hyphen is pretty low, but the automatic naming of a text layer because users create a list, for example, may be more common.

I realize I may raise some obscure use cases, but I hope things like this are helpful for you.
#9