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

fix(ui): problems with handling ui_attach side effects #28522

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

luukvbaal
Copy link
Contributor

@luukvbaal luukvbaal commented Apr 26, 2024

fix(ui): update ext_ui widgets when attaching non-remote UI

Problem: Updating internalized UI capabilities is postponed until a
remote UI attaches.
Solution: Always update active UI widgets in ui_refresh().

fix(ui): set 'cmdheight' to zero for all open tabpages

Problem: Enabling ext_messages claims to set 'cmdheight' to zero, but
only does so for the current tabpage.
Solution: Set stored 'cmdheight' value to zero for all tabpages.

Fix #28526

@luukvbaal luukvbaal requested a review from bfredl April 26, 2024 14:30
@luukvbaal luukvbaal added ui ui-extensibility UI extensibility, events, protocol labels Apr 26, 2024
Problem:  Updating internalized UI capabilities is postponed until a
          remote UI attaches.
Solution: Always update active UI widgets in ui_refresh().
Problem:  Enabling ext_messages claims to set 'cmdheight' to zero, but
only does so for the current tabpage.
Solution: Set stored 'cmdheight' value to zero for all tabpages.
@luukvbaal luukvbaal changed the title fix(ui): update ext_ui widgets when attaching non-remote UI fix(ui): problems with handling ui_attach side effects Apr 26, 2024
@justinmk justinmk merged commit 158e329 into neovim:master Apr 27, 2024
25 of 28 checks passed
@github-actions github-actions bot removed the request for review from bfredl April 27, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui ui-extensibility UI extensibility, events, protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After attaching ext_messages, 'cmdheight' is set to zero for current tabpage only
2 participants