zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
19.42k stars 611 forks source link

hide_floating_panes doesn't work with default_tab_template #3392

Open ameknite opened 1 month ago

ameknite commented 1 month ago

Issues with the Zellij behavior

zellij 0.40.1

Issue description

floating panes don't hide on startup even when hide_floating_panes=true

Minimal reproduction

This doesn't work

layout {
    default_tab_template{
        children
    }
    tab hide_floating_panes=true {
        pane
        floating_panes {
            pane 
        }
    }
}

This works

layout {
    // default_tab_template{
    //     children
    // }
    tab hide_floating_panes=true {
        pane
        floating_panes {
            pane
        }
    }
}

Other relevant information

workaround: don't use default_tab_template, require more boilerplate

maybe related to: #3384 It looks like default_tab_template doesn't work well with floating_panes