In the 'New Temporary Scratch Layer' dialogue, while adding a new field, when the 'Add to Fields List' button is clicked, the cursor and focus returns to the 'Name' data entry box. This is excellent behavior.
In the 'New GeoPackage Layer' dialogue, focus is not returned to the 'Name' data entry box, but has to be clicked on or tabbed to.
Steps to reproduce the issue
Similarly to what is described above,
click the 'New GeoPackage Layer' button in the 'Data Source Manager Toolbar'
click in the 'Name' box of the 'New Field' block in the dialogue, add some text.
click the 'Add to Fields List' button in the same 'New Field' block
notice that the 'Name' data entry box has to be re-selected for subsequent 'New Field' entries
To see the nicer method:
click the 'New Temporary Scratch Layer' button in the 'Data Source Manager Toolbar'
click in the 'Name' box of the 'New Field' block in the dialogue, add some text.
click the 'Add to Fields List' button in the same 'New Field' block
notice that the cursor is in the now empty 'Name' data entry box and has focus for quick addition of new fields, simply leaving the mouse above the 'Add to Fields List' button and clicking for each new field of the same type.
Additionally, after testing, noticed that the desired action works on 'New Shapefile Layer' but not on 'New SpatiaLite Layer'
Versions
QGIS version
3.38.2-Grenoble
QGIS code revision
130c432394
Qt version
5.15.13
Python version
3.12.5
GDAL/OGR version
3.9.2
PROJ version
9.4.0
EPSG Registry database version
v11.004 (2024-02-24)
GEOS version
3.12.2-CAPI-1.18.2
SQLite version
3.45.1
PDAL version
2.6.3
PostgreSQL client version
16.2
SpatiaLite version
5.1.0
QWT version
6.2.0
QScintilla2 version
2.14.1
OS version
Windows 10 Version 2009
What is the bug or the crash?
In the 'New Temporary Scratch Layer' dialogue, while adding a new field, when the 'Add to Fields List' button is clicked, the cursor and focus returns to the 'Name' data entry box. This is excellent behavior.
In the 'New GeoPackage Layer' dialogue, focus is not returned to the 'Name' data entry box, but has to be clicked on or tabbed to.
Steps to reproduce the issue
Similarly to what is described above,
To see the nicer method:
Additionally, after testing, noticed that the desired action works on 'New Shapefile Layer' but not on 'New SpatiaLite Layer'
Versions
QGIS version 3.38.2-Grenoble QGIS code revision 130c432394 Qt version 5.15.13 Python version 3.12.5 GDAL/OGR version 3.9.2 PROJ version 9.4.0 EPSG Registry database version v11.004 (2024-02-24) GEOS version 3.12.2-CAPI-1.18.2 SQLite version 3.45.1 PDAL version 2.6.3 PostgreSQL client version 16.2 SpatiaLite version 5.1.0 QWT version 6.2.0 QScintilla2 version 2.14.1 OS version Windows 10 Version 2009
Active Python plugins changeDataSource 3.1 document_management_system 0.3.3 processing_saga_nextgen 1.0.0 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99
Supported QGIS version
New profile
Additional context
No response
EDIT: added 'add some text' to steps 2 in 'how to reproduce'