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

/layout apply does not automatically refresh buflist #2071

Open
NetSysFire opened this issue Feb 13, 2024 · 0 comments
Open

/layout apply does not automatically refresh buflist #2071

NetSysFire opened this issue Feb 13, 2024 · 0 comments
Labels
bug Unexpected problem or unintended behavior

Comments

@NetSysFire
Copy link
Contributor

Describe the bug

See title. The change only gets applied at the next buffer operation, e.g switching to one.

Steps to reproduce

  1. Have a saved layout (/layout save)
  2. Diverge from the layout, move some channels around. In this case starting up weechat messed up the channel order, but for reproduction purposes just do the former.
  3. Run /layout apply
  4. Nothing happens.
  5. Switch to a different buffer. E.g /buffer 42.
  6. Changes suddenly apply.

Current behavior

There is a delay in applying changes.

Expected behavior

The buflist gets refreshed immediately after running /layout apply.

Suggested solutions

No response

Additional information

Unsure if this is a regression since I only started /layout recently.

WeeChat version

4.2.1

What OS are you using?

Arch Linux

On which terminal are you running WeeChat?

Kitty

Which terminal multiplexer are you using?

none

@NetSysFire NetSysFire added the bug Unexpected problem or unintended behavior label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant