lsp-ui icon indicating copy to clipboard operation
lsp-ui copied to clipboard

lsp-ui-doc-focus-frame does nothing

Open flagos opened this issue 3 years ago • 2 comments

Hi,

I'm trying to use lsp-ui-doc with the keyboard as show in the gif but for now I can't really make it.

I can for example go over the popup with mouse and scroll to read the content, but even if I click on it, I can't have the focus inside the popup to navigate with the keyboard or whatever.

If I also try with lsp-ui-doc-focus-frame when the frame has popped up, it just does nothing.

Sorry, if my question is a bit stupid or what, it could be just a rookie mistake, but after reading the doc, I couldn't see what I've could have missed.

For reference, here is my config: https://github.com/flagos/emacs-config/blob/master/config.el

Thanks!

flagos avatar Jun 05 '21 13:06 flagos

@flagos it worked for me with:


(use-package lsp-ui :commands lsp-ui-mode
  :bind (("C-c z" . lsp-ui-doc-focus-frame)))

ayrat555 avatar Aug 01 '21 08:08 ayrat555

Same here. I can only focus the frame if I manually eval (set-frame-parameter (lsp-ui-doc--get-frame) 'lsp-ui-doc--no-focus nil) and then click on the frame. Even then, lsp-ui-doc-focus-frame still does nothing.

SkyLeite avatar Aug 18 '23 16:08 SkyLeite