You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug happens on Windows at least (I'm not sure about other platforms).
To reproduce this bug:
Create a test application that does NFD_SaveDialog( "txt", NULL, &outPath );, and then writes some data to the file returned in outPath.
Create a file called test.txt (using Windows Explorer).
Run the test application and type test (without the extension) into the dialog text box.
Observe that there is no prompt that asks if we want to overwrite the existing file, but the file gets overwritten anyway.
Notice that if we had typed test.txt into the dialog text box, we would get the overwrite prompt.
This is unexpected behaviour (at least on Windows, in which I am familiar with) because other Windows applications will append the file extension before checking if an existing file will be overwritten (and due to this expected behaviour, Windows users tend to leave out the file extension when typing a file name in the save file dialog).
The text was updated successfully, but these errors were encountered:
This bug happens on Windows at least (I'm not sure about other platforms).
To reproduce this bug:
NFD_SaveDialog( "txt", NULL, &outPath );
, and then writes some data to the file returned inoutPath
.test.txt
(using Windows Explorer).test
(without the extension) into the dialog text box.Notice that if we had typed
test.txt
into the dialog text box, we would get the overwrite prompt.This is unexpected behaviour (at least on Windows, in which I am familiar with) because other Windows applications will append the file extension before checking if an existing file will be overwritten (and due to this expected behaviour, Windows users tend to leave out the file extension when typing a file name in the save file dialog).
The text was updated successfully, but these errors were encountered: