Bug report #17638

DB Manager: Create Layer dialog should be closed or cleared once the new layer is generated

Added by Harrissou Santanna over 2 years ago. Updated about 1 year ago.

Status:Feedback
Priority:Normal
Assignee:-
Category:DB Manager
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

Description

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)

History

#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.

#2 Updated by Giovanni Manghi about 1 year ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF