QGIS
QGIS copied to clipboard
Layers: Export → Save Selected Features As... saves an empty file
What is the bug or the crash?
Layers: Export → Save Selected Features As... results in a file without the selected features.
Steps to reproduce the issue
-
Load a polygon layer
-
Select a single feature using Select Features By Area or Single Click
-
Right click on the layer in the Layers list, click Export and Save Selected Features As.
-
Select the output format (we usually deselect the Geometry column). I have tested using GeoJSON, Shapefile and Geopackage.
-
After the export is succesful, the selected polygon is not present in the saved file
The exported GeoJSON file contains the following:
{
"type": "FeatureCollection",
"name": "mettre",
"features": [
]
}
Versions
The bug can be recreated using 3.28-3 and 3.30.3 - but the bug did not exist in 3.14. Version 3.14 still exports a usable file.
Supported QGIS version
- [X] I'm running a supported QGIS version according to the roadmap.
New profile
- [X] I tried with a new QGIS profile
Additional context
Cc: @GeodataInformatik @InformatikSilkeborg