Enter key selects dormant screen selection

Hello,

Since upgrading to Jmix 1.5.0, we’ve noticed that when working in one screen (let’s say a browse screen with a record selected), if we open another browse screen and use the filter to find records and the user then hits the Enter key, it will open the selected record from the dormant browse screen. Traditionally, hitting Enter doesn’t seem to be a great idea, as it would open any records on the current screen that are selected, but now it’s doing it on the dormant screen, which seems to be an issue.

Is this something that has been noticed by anyone else? Is it a known issue with a fix coming? Please let me know. My users are getting confused by this behavior.

Thank you,
Adam

Hi,

I cannot reproduce the issue. Could you please upgrade to the latest Jmix 1.5.1 version and try to reproduce the problem there? If you still have this behavior then it will be great if you attach the sample project and describe exact steps how to reproduce the problem.

Hello,

I’ve updated to 1.5.1 and the issue remains. The only thing I can think of that is related to the tabs is that we have main-tab-sheet-mode set to managed to keep the main tabs from losing their state.

The project that this exists in can be found in the following consultancy post:
https://forum.cuba-platform.com/t/row-level-role-syntax-issue-for-many-to-many-relationship/16817/4

The steps to reproduce are:

  1. Open Users browse screen from the main menu by going to Application → Users
  2. Select a user by clicking on one
  3. Open the Accounts browse screen from the main menu by clicking CRM → Accounts
  4. Add a filter condition, type something in the filter condition input, and hit the enter key.

At this point, the user that was selected in the Users browse screen will open in the Accounts main tab.

Please let me know if you require further information.

Thank you,
Adam

I’ve created an issue for that.