BUG: Renaming extension & changing it...

User 38401 Photo


Senior Advisor
10,951 posts

Two things kind of here, they pretty much tied in together as I came across them both within about 5 minutes or so.

Part 1
I tried to rename a file today in the Website Projects File list, it had capitals for .JPG and all I was trying to do is change it to .jpg so it wasn't caps. It wouldn't let me rename it. It said that file already existed and so it couldn't rename it. Should be able to do this if the option to rename is there at all right? I think this may fall under the same problem of not being able to create a copy of a file in the projects list from within the projects list? Has no option to do this, and just dawned on me as I was typing this, that this is maybe connected to the suggestion or bug (not sure which one it was I posted lol) for making copies of files within the program to the same folder. Maybe this is why this is thinking I want to create a new file with this name instead of changing the current one?

Part 2
I then went outside the program and manually changed it within the folder in windows explorer and then closed closed the expanded folder in CC list and reopened it (basically hit the - then + to close and reopen the folder to refresh it), but it then showed both files on the list in the Project files list instead of just one. It showed the one I just saved as .jpg and also the original file with the .JPG even though the .JPG was no longer really there in the windows folder as it had been renamed.

Of course like a silly thing I deleted the .JPG from within the CC Project Files list thinking it was a renegade file, and of course it deleted the actual file ending in .jpg and then they were both gone! LOL. I went and put it back from my recycle bin and it was fine after that, but that's a lot of hassle just to change an extensions caps setting I think lol. Seems maybe the refresh doesn't work quite right in the projects files list?

I sure hope this made sense lol, I'll work on trying to reproduce this tomorrow when I stop frying my brain reading CC forums LOL. If I get it to reproduce tomorrow I'll get a screen shot and post it in a reply here, providing you haven't already found it valid and posted that is :P
User 3004957 Photo


Registered User
848 posts

Many controls that coders use to mimic or call explorer type behaviour aren't as advanced as the Windows version, hence trying to rename a file that already exists is a no-no. Later versions of Windows will copy and paste a file in the same folder and just call it 'copy of ...' but older controls don't do that. This particular file explorer considers file.JPG already exists so it won't rename it the same; limiting but the workaround is just to rename outside of the software. The same thing with the phantom file; the explorer shows both files but in reality there is only one. It obviously can't handle some functions that we take for granted with Windows version; my other editor does exactly the same thing so perhaps the control used is shared by both editors.

Dave.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.