{"record":{"id":"e1d8021f4f2810e6","repo":"slint-ui/slint","slug":"merge-layout-infos","errorCode":null,"errorMessage":"Merge layout infos","messagePattern":"Merge layout infos","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/compiler/passes/inlining.rs","lineNumber":477,"sourceCode":"                elem_binding.priority = elem_binding.priority.saturating_add(priority_delta);\n                elem_mut.set_binding(property.clone(), elem_binding);\n            }\n        }\n    }\n    for (k, val) in inlined_component.root_element.borrow().change_callbacks.iter() {\n        match elem_mut.change_callbacks.entry(k.clone()) {\n            std::collections::btree_map::Entry::Vacant(entry) => {\n                entry.insert(val.clone());\n            }\n            std::collections::btree_map::Entry::Occupied(mut entry) => {\n                entry.get_mut().get_mut().splice(0..0, val.borrow().iter().cloned());\n            }\n        }\n    }\n\n    if let Some(orig) = &inlined_component.root_element.borrow().layout_info_prop {\n        if let Some(_new) = &mut elem_mut.layout_info_prop {\n            todo!(\"Merge layout infos\");\n        } else {\n            elem_mut.layout_info_prop = Some(orig.clone());\n        }\n    }\n    if let Some(orig) = &inlined_component.root_element.borrow().layout_info_v_with_constraint {\n        if let Some(_new) = &mut elem_mut.layout_info_v_with_constraint {\n            todo!(\"Merge layout infos\");\n        } else {\n            elem_mut.layout_info_v_with_constraint = Some(orig.clone());\n        }\n    }\n    if let Some(orig) = &inlined_component.root_element.borrow().layout_info_h_with_constraint {\n        if let Some(_new) = &mut elem_mut.layout_info_h_with_constraint {\n            todo!(\"Merge layout infos\");\n        } else {\n            elem_mut.layout_info_h_with_constraint = Some(orig.clone());\n        }\n    }","sourceCodeStart":459,"sourceCodeEnd":495,"githubUrl":"https://github.com/slint-ui/slint/blob/3fd8f2ec03c2aa8a95d5f4b9daa299c7b8bf4016/internal/compiler/passes/inlining.rs#L459-L495","documentation":"Error \"Merge layout infos\" thrown in slint-ui/slint.","triggerScenarios":"Thrown at internal/compiler/passes/inlining.rs:477 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Internal compiler limitation: simplify the inlined layout structure.","Report the triggering .slint code to the Slint issue tracker."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3fd8f2ec03c2aa8a95d5f4b9daa299c7b8bf4016","analyzedAt":"2026-08-19T23:23:16.610Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}