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

Issue with focused tab layout #3786

Open
A1c0 opened this issue Nov 17, 2024 · 2 comments
Open

Issue with focused tab layout #3786

A1c0 opened this issue Nov 17, 2024 · 2 comments

Comments

@A1c0
Copy link

A1c0 commented Nov 17, 2024

Basic information

zellij --version: zellij 0.41.1

stty size: 54 187

uname -av or ver(Windows): Darwin APR2303.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:11 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6020 arm6

2. Issues with the Zellij UI / Behavior / Crash

Issue Description

I cannot focus on a tab in a layout when it is positioned between two other tabs.

Minimal Reproduction

Create a KDL file (e.g., test.kdl) with the following layout:

layout {
    tab {
        pane name="Pane1"
    }
    tab focus=true {
        pane name="Pane2"
        pane focus=true
    }
    tab {
        pane name="Pane3"
    }
}

When I start a session with zellij -l test.kdl, I initially start on the second tab for a few milliseconds but then roll back to the first pane.

Other Relevant Information

  • Issue found in zellij 0.41.1.
  • I tested this with zellij 0.40.1, and it worked correctly in that version.
@ulrichSchreiner
Copy link

hi,

i have the same behaviour. only the focus on the first and last tab works. every other focus jumps to the previous tab. so if you want to focus the 4th of 5 tabs, the 3rd is focused.

@BigJayToDaIzo
Copy link

Hello friends!

I wanted to add that I helped troubleshoot this regression with the OP in discord, and have confirmed proper behavior in 0.41.1 and I just wanted to add a little noise to the issue. Thank you for the excellent soft!

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

No branches or pull requests

3 participants