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
Author Name: Radim Blazek (@blazek)
Original Redmine Issue: 6648
Redmine category:gui
Vector/raster save as dialog only warns user about file existence of file with 'base' extension. For example, if foo.shp was selected and it does not exist but foo.dbf exists, then user is not warned and foo.dbf is silently overwritten.
At this moment it cannot be easily fixed (where warning is generated) because QFileDialog does not support such feature (test multiple extensions for existence).
Another issue is, that if file name is typed by hand, user is not warned at all. I am not sure if it is desired or not, maybe power users typing files names don't need to be warned?
The text was updated successfully, but these errors were encountered:
Still problem in 3.0, e.g. .dbf file is silently overridden if .shp does not exist.
The second problem is solved, user is warned if a file of the name typed by hand exists. It means that now the check is not done by the file dialog but when OK is clicked which makes the fix easier but it will be difficult to get list of file extensions from GDAL. It would probably require to keep our list in QGIS.
description was changed from Vector/raster save as dialog only warns user about file existence of file with 'base' extension. For example, if foo.shp was selected and it does not exist but foo.dbf exists, then user is not warned and foo.dbf is silently overwritten.
At this moment it cannot be easily fixed (where warning is generated) because QFileDialog does not support such feature (test multiple extensions for existence).
Another issue is, that if file name is typed by hand, user is not warned at all. I am not sure if it is desired or not, maybe power users typing files names don't need to be warned?
to Vector/raster save as dialog only warns user about file existence of file with 'base' extension. For example, if foo.shp was selected and it does not exist but foo.dbf exists, then user is not warned and foo.dbf is silently overwritten.
At this moment it cannot be easily fixed (where warning is generated) because QFileDialog does not support such feature (test multiple extensions for existence).
Another issue is, that if file name is typed by hand, user is not warned at all. I am not sure if it is desired or not, maybe power users typing files names don't need to be warned?
Author Name: Radim Blazek (@blazek)
Original Redmine Issue: 6648
Redmine category:gui
Vector/raster save as dialog only warns user about file existence of file with 'base' extension. For example, if foo.shp was selected and it does not exist but foo.dbf exists, then user is not warned and foo.dbf is silently overwritten.
At this moment it cannot be easily fixed (where warning is generated) because QFileDialog does not support such feature (test multiple extensions for existence).
Another issue is, that if file name is typed by hand, user is not warned at all. I am not sure if it is desired or not, maybe power users typing files names don't need to be warned?
The text was updated successfully, but these errors were encountered: