Skip to content

NatTable - ui binding inconsistencies #53

Description

@fipro78

After issue #50 was closed without any comment, I tested today with version 0.337.0

It seems to work now, but in an inconsistent way.

  • Open the Tutorial Examples - Configuration - Editing - Editor Example
  • Click into a cell with a checkbox (e.g. Married), but not on the checkbox itself, only in the cell to select it and not to trigger the checkbox edit
  • Now try to navigate via arrow keys

In my tests at this point the cell selection jumped always two cells.

Now edit a cell, for example in the Firstname column, by pressing F2. The edit mode is activated, but I can not exit it by pressing ESC. Even more strange, now the navigation via arrow keys seems to be correct, but whenever the cell selection is moved to the cell in edit mode, suddenly we are again in the state of editing that cell. Which is a very inconsistent behavior.

Sometimes it even happened that no interaction is possible anymore, neither via mouse nor keys. Typically happened when I switched to another application, like the browser to write on the issue, and then coming back to the NatTable-Evolve application. In that case the whole interaction with an open NatTable example does not work anymore.

And there is still a focus issue.

  • Open the Tutorial Examples - Configuration - Editing - Editor Example
  • Click into a cell with text (e.g. Firstname) to trigger the edit mode. The cell is now in edit mode.
  • Now try to navigate via arrow keys out of the cell again.

In my tests the selection in the treeview on the left changed, not the selection in the NatTable.

So it looks like clicking on a cell in NatTable directly to enter the edit mode does not change the focus to NatTable. Instead the focus stays in the treeview. Probably this is the reason for some of the upper mentioned issues, as the focus change is tracked by NatTable to ensure a consistent state. If NatTable does not gain the focus, many things fail in further processing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions