User role editor freezes

Hi,
I’m trying to use the role editor for the first time but I encounter an issue. Every time I clic on a checkbox there is a ~15 seconds freeze. If I try to clic more checkboxes this mess appends (see screenshot). New "optimize imports"seems to be created in loop until everything go back to normal after a few minutes.
I used jmix studio 1.5.x and tried to update to 2.0.1-231 with the same result.
I there any solution to this problem ?

thanks

image

Hi

Thanks for reporting the issue.
I confirm this problem for Kotlin project with large amount of entities.
The YouTrack issue created. We will investigate the problem and provide the fix in one of the following releases.

It’s far better this way. Thanks

There is still a substantial freeze (a few seconds ~3 seconds) after each checkbox click.
It makes role management a tedious task.
image
as a workaround, switching to java for the role classes seems to work well.

Bonus question :slightly_smiling_face::
when I check then uncheck an entity, the attributes stay checked. and the acces is authorised in the code. I believe it’s not the intended behavior. (on java and kotlin)
image