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

NextSwapLayout / PreviousSwapLayout moves currently focused pane #3684

Open
WizardUli opened this issue Oct 17, 2024 · 0 comments
Open

NextSwapLayout / PreviousSwapLayout moves currently focused pane #3684

WizardUli opened this issue Oct 17, 2024 · 0 comments

Comments

@WizardUli
Copy link

WizardUli commented Oct 17, 2024

Using zellij 0.40.1 using default configuration:

In a new Zellij session open at least 3 panes and run some different commands there so they can be distinguished.

Focus any pane but the last one and press Alt + [ or Alt + ] a few times and observe:

  • On the first layout swap the focused pane is MOVED to the end. It becomes the last one.
  • Subsequent switches keep the ordering because the focused pane is the last one so it can't be moved to the end because it already is at the end.

This is broken even on custom swap layouts and naming each pane does not mitigate it.

It is probably also the cause of #2669 which if true indicates that this bug has been here for more than a year which brings a question: Do people not use swap layouts often? It seemed to me as a core poster functionality and I hit this bug basically really immediately after reading the documentation and trying to play with layouts for the first time.
(I'm just asking because I'm looking primarily for a dynamic tiler for terminal and Zellij seemed to be one but if layout swapping is an afterthought I'll continue looking for something else.)

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

1 participant