P
picander77
Hello there,
I found a bug using SaveFileDialog and I was not able to find any
similar issue on the web.
This seems to apply to any .NET Applications using SaveFileDialog.
To perform the bug:
1. Open a SaveFileDialog and save any File, e.g. TestDocument0.txt:
This should create a document named TestDocument0.txt
2. Call once again the SaveFileDialog, select the TestDocument0.txt you
created in the File Window: The name of the File appears in the Text
Box, left of the "Open" Button. (Notice, the Selected File is still
grayed in the File Window)
3. Rename the Text in this Text Box, e.g. TestDocument1.txt: (Notice,
the Selected File is still grayed in the File Window)
4. Click in the File Window, but not on a folder or a file. The
previously selected File is not grayed anymore, the focus is set on
nothing.
5. Press the "Save" Button, you will get the following Waning:
"File TestDocument0.txt already exists. Do you want to replace it"
The error is obvious, it should save my file as TestDocument1.txt, and
not TestDocument0.txt, as it appears on the Text Box.
Could you reproduce such strange behaviour?
Thanks for your help
Picander
I found a bug using SaveFileDialog and I was not able to find any
similar issue on the web.
This seems to apply to any .NET Applications using SaveFileDialog.
To perform the bug:
1. Open a SaveFileDialog and save any File, e.g. TestDocument0.txt:
This should create a document named TestDocument0.txt
2. Call once again the SaveFileDialog, select the TestDocument0.txt you
created in the File Window: The name of the File appears in the Text
Box, left of the "Open" Button. (Notice, the Selected File is still
grayed in the File Window)
3. Rename the Text in this Text Box, e.g. TestDocument1.txt: (Notice,
the Selected File is still grayed in the File Window)
4. Click in the File Window, but not on a folder or a file. The
previously selected File is not grayed anymore, the focus is set on
nothing.
5. Press the "Save" Button, you will get the following Waning:
"File TestDocument0.txt already exists. Do you want to replace it"
The error is obvious, it should save my file as TestDocument1.txt, and
not TestDocument0.txt, as it appears on the Text Box.
Could you reproduce such strange behaviour?
Thanks for your help
Picander