Skip to content

Menu activation leads to an assert_error #1670

@evgaster

Description

@evgaster

Using the simulator on (native) Fedora; version 0.9.16.

I am experimenting with tree structured menus (to navigate a partly recursive data structure) like:

{
        { "m1"  « "m1" "Leaf action" » }
        { "m2"
                «
                        {
                                { "m2.1" « "m2.1" "Leaf action" » }
                                { "m2.2" « "m2.2" "Leaf action" » }
                        }
                        Menu
                »
        }
        { "m3"  « "m3" "Leaf Action" » }
}
Menu

When I click F1 (m1), F3 (m3) and then F2 (m2) the screen freezes in below state:
Image
In the terminal window I see the simulator giving:

[1325855 2007.050554] assert_error: Assertion failed: index + objsize <= size

Every key clicked gives a:

[151857190598 11208.646922] keys_warning: Dropped key 33 (wr 216 rd 212)
[151860622794 11208.855024] keys_warning: Dropped key 0 (wr 216 rd 212)

I intended to get:
Image
And then after clikcing F1 (m2.1) and F2 (m2.2):
Image

Ok, I understand that the processing of the action of F2 is going on and it replaces the action of, among others, ... F2. But I do simular things ... where it works as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions