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

Stacked panes expands last pane after command #2733

Closed
serranomorante opened this issue Aug 26, 2023 · 1 comment · Fixed by #2734
Closed

Stacked panes expands last pane after command #2733

serranomorante opened this issue Aug 26, 2023 · 1 comment · Fixed by #2734

Comments

@serranomorante
Copy link

t-rec_7

Basic information

zellij --version: main and 0.37.2
stty size: 59 231
uname -av: Linux arch 6.1.47-1-lts x86_64 GNU/Linux

List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example:

  • NVIM v0.9.1
  • kitty 0.29.2
  • konsole 23.04.3

Steps to reproduce

  1. Open zellij with the provided layout (see below)
  2. Verify in tab 1 and in tab 2 that of all of the stacked panes, only the first one is expanded. Leave it that way.
  3. Go to tab 3 execute this command: zellij run -f -- fish
  4. Return to tab 1 and tab 2 (with ctrl+t <left|right arrows>) and you will notice that even thought the first pane is highlighted it is actually not expanded but the last panes are the expanded ones.

Use this layout to reproduce the issue:

layout {
  default_tab_template {
    children
    pane size=1 borderless=true {
      plugin location="zellij:compact-bar"
    }
  }
  tab name="tab 1" {
    pane split_direction="horizontal" stacked=true {
      pane name="pane 1"
      pane name="pane 2"
      pane name="pane 3"
      pane name="pane 4"
    }
  }
  tab name="tab 2" {
    pane split_direction="horizontal" stacked=true {
      pane name="pane 1"
      pane name="pane 2"
    }
  }
  tab name="here execute: zellij run -f -- fish" {
    pane name="here execute: zellij run -f -- fish"
  }
}
@serranomorante
Copy link
Author

Replicated on arch linux and also macos with stock zellij installation.

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

Successfully merging a pull request may close this issue.

1 participant