Bug report #18145
Do not enable OK buttons if dialogs are missing required fields
|Affected QGIS version:||3.6.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||26038|
I named this bug generally although I only have two specific examples.
#18144 mentions a dialog presenting OK and Cancel, both allowing to quit doing nothing.
The XYZ Connection dialog also let's the user proceed without entering a name. Without a name no connection will get saved so the entered detail is lost if the user clicks OK.
This is also possible with the MSSQL, PostGIS, DB2 dialogs.
It is not working (i.e. set up great) for example in the ArcGISFeature- and -MapServer as well as WCS, WMS, WFS.
Please only enable OK buttons if things are OK. Otherwise do not let the user click OK.
Not sure if this style of issue is good, close at will (or if the examples are fixed). ;)