Skip to content

Custom type isn't saved when enter isn't pressed #1144

@techee

Description

@techee

Details for the issue

Steps to reproduce:
Create a new table and add a field. In the field edit the type to say VARCHAR(5). If you don't press enter after writing the custom type and e.g. just add another field, the custom type isn't saved when confirming the table structure (the SQL below the table isn't updated in this case).

This is extremely error-prone and confusing because it seems that the value has been entered as the Type column shows the custom type but the default INTEGER type is saved instead. It's pretty easy to forget to press enter especially when one wants to modify types of an existing table to something else and quickly pastes the new value to multiple columns.

It would be best to update the SQL command not only on enter, but also when mouse focus leaves the table and to be sure also when OK is pressed when confirming the dialog.

Useful extra information

I'm opening this issue because:

  • DB4S is crashing
  • DB4S has a bug
  • DB4S needs a feature
  • DB4S has another problem

I'm using DB4S on:

  • Windows: ( version: ___ )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: ___ )
  • Other: ___

I'm using DB4S version:

  • 3.10.0
  • 3.10.0-beta*
  • 3.9.1
  • Other: ___

I have also:

Metadata

Metadata

Assignees

Labels

bugConfirmed bugs or reports that are very likely to be bugs.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions