radioButtonGroup reacting very slow on mouse click

Hello!
In a form, more likely a questionniare, I’m using about 20 radioButtonGroup fields.
When dashing through those questions I get stuck instantly, if I don’t keep a second between the clicks. The radios react very slowly.
Is this a known issue? Thanks for any recommendations or ideas in advance,

Hello,
Could you create a demo project with your problem so that you can reproduce what is happening to you?

This behaviour can be seen e.g. at:
https://demo.jmix.io/sampler/#main/1/sample?id=radiobuttongroup-simple
It is very easy to click faster, than the control can cope.

Now I tried something else:

  • Firefox(!) is too slow to pace the clicks.
  • Chrome is fine!

Thank you for answer,

I tried to reach this behavior in the sample, but nothing happens (in my tests). Probably, your browser are wasting time to invoke new RPCs to the server. If chromium is ok, then i can guess vaadin optimize only chrome sessions or some caches not hitting, etc…
Also, i create 20+ enum for radioButtons and nothing happens (git repo).
Tested on: Safari, mozilla, yandex browser(chromium), chrome;

By the way, the cause of problem is VAADIN's Rpc between client and server, so we can’t fix this and improve speed.
If you really need this speed and rich less response time, you can extend our richButton component and override this RPC factory, probably use WebSocket over session or other workarounds.

But we are advising to not pay attention to performance. This can happen with Jmix 1.5 version, in Jmix 2.0 this issue is fixed due to asynchronous non-blocking RPCs. Probably, also use chrome for better experience is will be half-solution.

Regards, Jmix team.

Thanks for your answer and time! We will go further to jmix 2.0 as soon as possible.

By the way, can I use Flow together with the classic (1.5) controls in one sheet? Do I just have to add the further window xmlns entries for flow and mix it altogether?

Br
HP

No, there is no back capability for classic ui and flow ui, a lot elements named same, but now way too much changes in Jmix 2.0 and new Vaadin 24. I hope I didn’t upset you.
List of changes you can read here:

https://docs.jmix.io/jmix/whats-new/index.html

Regards,
Dmitry

1 Like