We are sorry to hear you are facing trouble renaming the layer by double clicking a layer. I am unable to reproduce the same on my windows machine on the latest version. I would like to know a few more details like-
Is it happening with the specific file or with all the files?
Would you mind trying the same on the other machine?