Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

floating_panes not instantiated in new tabs when inside default_tab_template #3384

Open
Stenodyon opened this issue May 27, 2024 · 0 comments

Comments

@Stenodyon
Copy link

Issue description

When there is a floating_panes layout node inside the default_tab_template, floating panes will not be created in any new tabs, only in the first tab which is not the expected behavior as described in

There is a special default_tab_template node that can be used just like a regular tab_template node, but that would apply to all tabs in the template as well as all new tabs opened in the session.

(Emphasis mine.)

Minimal reproduction

layout {
    default_tab_template {
        floating_panes {
            pane name="floating"
        }
        pane name="not-floating"
    }
    tab
}

After creating a new tab, no floating pane is created, and toggling floating panes will spawn a new one (thus its name will not be "floating" as set in this example).

Other relevant information

Reproduced on master branch (at the time c72f3a7).

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

No branches or pull requests

1 participant