emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 141 forks source link

lsp-ui-doc-hide make emacs not responding unless press a arrow key #751

Open st0nie opened 1 year ago

st0nie commented 1 year ago

Steps to reproduce: first open emacs, run lsp-ui-doc-toggle, lsp-ui-doc-focus, then now your cursor is in the frame of ui-doc, now use lsp-ui-doc-hide, then any input is disabled unless you press the arrow keys once,

and another case is: open emacs, run lsp-ui-doc-toggle, lsp-ui-doc-focus, lsp-ui-doc-unfocus, and then run lsp-ui-doc-hide, same symptoms, any ideas?

okomestudio commented 6 months ago

I observe the same issue (Emacs 29.1, Wayland via pgtk). In addition to arrow keys, tab can get the control back to the main window.

What more information could we provide to help surface this issue?

nTraum commented 1 month ago

I am having the exact same issue on Emacs 29.3 (and evil mode, but not sure if that's related), Fedora Wayland. Also lsp-ui-doc-unfocus-frame does not help it seems.