Open smsegal opened 3 years ago
Hmmm... I never use [zoom-mode]() but I'm assuming this is the bug that conflict to another package?
The expected behaviour is for the windows to automatically resize and reflow according to the window ratios specified in zoom-mode upon entering and exiting the window.
Do you know what specific lsp-ui is causing this issue? Maybe the ui-doc
, ui-imenu
, etc?
Thanks for reporting this issue to us! 👍
Just did some quick testing. It appears that as soon as ui-doc
is disabled, zoom mode works properly again.
I disabled ui-doc
with (setq lsp-ui-doc-enable nil)
, restarted emacs and the problem went away.
Just did some quick testing. It appears that as soon as ui-doc is disabled, zoom mode works properly again. I disabled ui-doc with (setq lsp-ui-doc-enable nil), restarted emacs and the problem went away.
Thank you! This is definitely the first step that help us knowing the issue! ;)
Mark with label ui-doc
for now.
When trying to use zoom-mode to automatically resize windows, any LSP managed buffers don't resize on switching into and out of the window as expected.
Instead, the window only resizes after a key is pressed that will incidentally resize the window. In my case, as soon as which-key is invoked the zoom window resizing will take place.
This has occurred when using lsp servers for python, LaTeX, and javascript. I've tested with
lsp
andlsp-deferred
as hooks and the issue is the same. As soon as I disable lsp-mode in the buffer then zoom-mode works as advertised.To Reproduce
Expected behavior The expected behaviour is for the windows to automatically resize and reflow according to the window ratios specified in zoom-mode upon entering and exiting the window.
OS Fedora 33