zellij-org/zellij · error

Implicit sizing within fixed-size panes is not supported

Error message

Implicit sizing within fixed-size panes is not supported

What it means

Error "Implicit sizing within fixed-size panes is not supported" thrown in zellij-org/zellij.

Source

Thrown at zellij-utils/src/input/layout.rs:1924

        None
    };

    let mut total_pane_size = 0;
    for (&size, _part) in sizes.iter().zip(&*layout.children) {
        let mut split_dimension = match size {
            Some(SplitSize::Percent(percent)) => Dimension::percent(percent as f64),
            Some(SplitSize::Fixed(size)) => Dimension::fixed(size),
            None => {
                let free_percent = if let Some(p) = split_dimension_space.as_percent() {
                    p - sizes
                        .iter()
                        .map(|&s| match s {
                            Some(SplitSize::Percent(ip)) => ip as f64,
                            _ => 0.0,
                        })
                        .sum::<f64>()
                } else {
                    panic!("Implicit sizing within fixed-size panes is not supported");
                };
                Dimension::percent(free_percent / flex_parts as f64)
            },
        };

        split_dimension.adjust_inner(
            total_split_dimension_space
                .as_usize()
                .saturating_sub(total_fixed_size),
        );
        total_pane_size += split_dimension.as_usize();

        let geom = match layout.children_split_direction {
            SplitDirection::Vertical => PaneGeom {
                x: current_position,
                y: space_to_split.y,
                cols: split_dimension,
                rows: inherited_dimension,

View on GitHub (pinned to a162323384)

Solutions

  1. Give the pane an explicit size (rows/columns) in the layout instead of implicit sizing.
  2. Remove the fixed size constraint if implicit sizing is needed.

When it happens

Trigger: Occurs at zellij-utils/src/input/layout.rs:1924 when the operation fails: "Implicit sizing within fixed-size panes is not supported". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.

Common situations: Arises from layout files that combine fixed dimensions with content-derived sizing.


AI-assisted analysis of zellij-org/zellij@a162323384 (2026-08-19). Data as JSON: /api/errors/4180d3a969aa434f. Report an issue: GitHub.