VerifAPS / stvs

StructuredText Verification Studio
http://formal.iti.kit.edu/stvs
GNU General Public License v3.0
9 stars 0 forks source link

Leaving a cell via mouse click discards changes #27

Open mattulbrich opened 7 years ago

mattulbrich commented 7 years ago

When clicking outside of a cell while editing the same, the cell changes from "edit mode" (textfield) to display mode. However, changes made to the cell text are discarded.

This does not match user expectation experienced in other table-based editing frameworks.

Request: Either do not allow to leave the textfield via mouse click at all, or make the changes persistent

For means to discard changes quickly, the <ESC> key would be a good option.

Spotted on a1b8e617cd2b55a1c018f796381891ef8e7776d2.

csicar commented 7 years ago

We tried to fix this problem during the pse project. If memory serves me right, this is a consequence of how the JavaFX-Table works. I will double-check that.

mattulbrich commented 7 years ago

Sounds like this: https://stackoverflow.com/questions/23632884/how-to-commit-when-clicking-outside-an-editable-tableview-cell-in-javafx