in the meantime you could try this solution:
willcheyney 4-apr-2015 1.26 (in risposta a gregoryi55248319)
I've since found out that you can actually just double click a layer to rename it and press space bar in that. Seems to fix it in the same way.
HarlequinMary 31-mag-2017 4.14 (in risposta a willcheyney)
Willcheyney, you are brilliant!
I've been having trouble with this forever in all three design programs — Illustrator, Photoshop and InDesign. The only thing that worked for me, was to close everything and re-boot. Really frustrating! I've been searching online for a solution for so long, until I finally came across your answer. Now I just follow your instructions, and within seconds I'm in the clear. You have no idea how much time and frustration you've saved me! (Well, you probably do, considering you had the same issues in the past). Thank you so much!!!
Thanks Vladan, I have just spoken to the indesign representative, apparently it is a known issue which they are looking to fix with the next update. He deleated the preferances files which seems to have work for the time being and said if the problem comes back to revert to 2017 until the next update.