Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.3.1, Qt Creator 3.5.0
-
None
-
Ubuntu 15.04
-
9b8f713bc83c6462bc86d114d3104ce252e471bb
Description
Today I wanted to create a new file into my project. I followed the path to do that : Right Click on the Project Name → Add New .
From there I just followed the steps and when I wanted to give the file's name, Creator told me that there is already a file with the same name. No problem. I choose to cancel the action. Instead of cancelling the process of creating / overwriting the file, Creator just ignored my choice and overwrote the said file.
This simply a NO.
How to reproduce that bug :
On a project :
- Chose to add a New File to the project
*Follow the step and chose an already existing Name and go ahead - A Creator says that there already a file with that name and asks to overwrite that file and give you the chance to cancel the action.
*Chose Cancel
*Look at content of the file in viewer : the content is overwritten.
What is expected is :
Once you click on cancel : Creator should actually not overwrite the file and should actually cancel that action ( adding a new File)
I tested this on Qt Creator 3.1.1 and this version is not affected by this bug