Switch bouncy behavior on LV_KEY_ESC

I’m using lvgl with four hardware buttons (configured as encoder NEXT/PREV/ENTER + LV_KEY_ESC as “back” button). I do some special handling of the LV_KEY_ESC events to get the desired menu behavior. Works fine except for one annoying thing…

I catch the LV_KEY_ESC events with a callback on various widgets. The callback event (LV_EVENT_KEY) is triggered after the widget’s own actions on that key (by the way, can that be disabled alltogether?). The switch behavior on LV_KEY_ESC is a bouncy on/off/on toggle. What is the meaning of this?

The same bouncy on/off/on or off/on/off is observed running any emulator or MicroPython.

I have the same problem, did you find a solution ?

Unfortunately not, I carried on with life :slight_smile:

In fact for me it is even worse.
Every keypress a switch gets has this bouncy efffect.

My main problem is it triggers LV_EVENT_VALUE_CHANGED even when the value isn’t changed.

As i have callbacks for LV_EVENT_VALUE_CHANGED i trigger action evens when this is not intended.