Bug report #17638
DB Manager: Create Layer dialog should be closed or cleared once the new layer is generated
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||25535|
Open the DB Manager
Select a gpkg database (i didn't test other formats)
In Table Menu, select "Create a table"
Fill the dialog and click Create
You'll see the layer added to the database but the "create new layer" dialog is still open.
It should either be open and cleared or closed. (unless it's by design, to help recreate new layers from the previous one? not sure what behavior is better)
#1 Updated by Giovanni Manghi over 2 years ago
The same is for PostGIS (and likely also Spatialite).
I think keeping it open is by design, to allow create other tables without having to reopen the dialog again. In this sense clearing the form make sense to me.
By the way that dialog has still the problem (reported in another ticket) that the CRS must be entered manually, it does not open the normal QGIS CRS selector.