weechat / weechat

The extensible chat client.

Home Page:https://weechat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`/layout apply` does not automatically refresh buflist

NetSysFire opened this issue · comments

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