Custom Keyboard Map "abc/ABC" button Issue

Description

A SINGLE CLICK on “abc” button to change keyboard map fires event multiple times.
The ability to just go from lower case to upper case keyboard layout is a hit or miss issue.
This is also true for “ABC”
This does not happen with the standard keyboard…

What MCU/Processor/Board and compiler are you using?

ESP32 ESP-IDF v4.4.5

What LVGL version are you using?

lvgl_micropython master

What do you want to achieve?

find a fix

What have you tried so far?

Have found that moving the button position to some other select location cures rapid fire events.
I need a specific “custom keyboard” layout (maps)

FROM…
image

TO…
image

WORKS !!!

Code to reproduce

LVGL/MicroPython simulator link

Lost 9 days on the Micropython section
any quick thoughts would be greatly appreciated !!!

CAN SOMEONE VERIFY IF THIS IS ALSO AN ISSUE IN C

I removed 1 button (?) from the top row and all is working.
Didn’t realise I had a ? on the special map so all is fine.
Still does not explain why the issue though.

I have a similar problem and I think it’s due to the standard event handler still being present. So your custom event handler handles the “abc” key then the standard event handler also handles the “abc” key. I’m attempting to delete the standard event handler and rewrite to but I think there needs to be a better way.