Shortcuts/mouse actions in JMIX 2 compared to 1.x

Hi

I have started a new project using JMIX 2.0. I see that most of the shortcuts/usability feature do not seem to work (t least the way they did in previous versions).

If I take a simple master/detail screen (list on the left, detail on the right), I have to use the mouse to first click on the list to select an entry, then I cannot use shortcuts anymore to add a row. Only “enter” works to modify the selected entry. Double clicking on a record does not open it in edit mode anymore.
With 1.x, when I entered a detail screen, the cursor was automatically in first field, now I need to press tab to select the first field.
Also ctrl-enter does not save the changes anymore, nor escape allows me to cancel the changes in detail view.

I fully appreciate that the work that has been done in 2.x is tremendous, reaching the pair with what was in 1.x is a long journey and work has to be prioritized :wink:

Do you plan to add those default shortcuts in a future release? Any view on a timeline?

Thanks!

Thierry

Hi,

All default shortcuts have been removed due to this bug: Action executed by keyboard shortcut in detail view breaks back navigation · Issue #1758 · jmix-framework/jmix · GitHub. It’ll be fixed in the very next feature release, approximately February 2024. It cannot be included to bug-fix release due to breaking changes, see comment.

Double click support for DataGrid component also will be included in the next feature release, approximately February 2024. See Support double click actions in DataGrid · Issue #2582 · jmix-framework/jmix · GitHub and comment.

Nevertheless, we don’t plan adding default shortcuts for built-in actions at least until Improve shortcuts API · Issue #2663 · jmix-framework/jmix · GitHub is implemented, due to the inability to define OS-specific shortcuts.

Regards,
Gleb

1 Like