Doubleclick on switch tricks it

Description

I have noticed that a doubleclick on the switch-object creates a weird situation were the callback responds twice, but the knob on the switch only moves once.
I don’t believe this is the intended behaviour, and even though i probably could make weird fix locally, I think that it would be more wise to integrate a solution into LVGL.
This isn’t just my code, because the Widgets demo experiences the same behaviour, and i have included some picture from the demo showing this.

What do you want to achieve?

I just wanted to notify you, that this is a problem, that potentially requires a fix.

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

Screenshots from https://lvgl.io/demos Widgets demo showing this behaviour:
Normal light mode:


Normal dark mode after one click:

Inverted weird behaviour after doubleclick:
Switch showing dark mode but in reality its light.

Previously reported here and fixed: https://github.com/lvgl/lvgl/issues/1795

The demo on lvgl.io is not updated automatically, but with the newer demo I can no longer reproduce the issue.

How weird. I couldn’t find that issue on the forum.
Thanks though, thought i had updated recently but apperently not. My bad!

You couldn’t find it because it was reported on GitHub, not on the forum. Sadly we don’t have a way to selectively mirror bug reports between the two at the moment.