Skip to content

Crash when using place_leaf in a container #128

Description

@fosterbrereton

Eve crashes during eve_evaluate when the a container in the layout is placement: place_leaf (the default).

As a workaround, edit the end of eve_t::implementation_t::add_placeable to add the following logic when is_container_type is true:

if (!is_container_type) {
    parent->geometry_m.placement_m = place_leaf;
} else if (parent->geometry_m.placement_m == place_leaf) {
    parent->geometry_m.placement_m = place_row;
}

This will forcibly correct a container's placement to be something other than place_leaf.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions