Hi,

I'm currently working on a save dialog for my application (currently testing in Ubuntu).  The dialog is in accept mode QFileDialog::AcceptSave and a default suffix of "txt" is set.

I've noticed something that appears to be strange when the file provided exists as follows (assuming a file "text.txt" exists for the following):

1. If I select the existing file "text.txt" and click save, I am presented with the overwrite question dialog. 2. If I type "text.txt" as the file name and click save, I am presented with the overwrite question dialog. 3. If I type "text" as the file name (without the suffix), I am not presented with the overwrite question dialog and the dialog returns the filename "text.txt" where the default suffix has been added.

Number (3) above is concerning.  If the dialog returns a filename, I would assume the user has accepted overwriting it, but this doesn't appear to be the case.  I assume this isn't intentional and is probably a bug?

Thanks,

Dan.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to