emacs-lsp / lsp-ui

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

company completion arrowing is broken #372

Open rileyrg opened 4 years ago

rileyrg commented 4 years ago

Bringing up company complete dialog:- Screenshot from 2020-01-08 14-56-04

Try to cursor down and get:-

lsp-ui--hide-doc-frame-on-window-change: Wrong type argument: window-live-p, nil [9 times]

Note that

lsp-ui-doc-mode

is nil and hasnt been on in this session,

lsp mode,lsp managed, lsp ui, dap, dap ui all on btw,

Screenshot from 2020-01-08 15-01-54

yyoncho commented 4 years ago

Can you provide call stack? Are you sure this is not the issue you already reported in dap-mode?

rileyrg commented 4 years ago

I havent done a debugging session in this case: the other seemed to be related to the output window not being visible during an actual debugging session, I also reverted to melpa dap btw. this seems to be a recent thing. stack :-

Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
  #<subr select-window>(nil norecord)
  lsp-ui--hide-doc-frame-on-window-change(#<subr select-window> nil norecord)
  apply(lsp-ui--hide-doc-frame-on-window-change #<subr select-window> (nil norecord))
  select-window(nil norecord)
  company-box--change-line()
  company-box--next-line()
  funcall-interactively(company-box--next-line)
  call-interactively(company-box--next-line nil nil)
  command-execute(company-box--next-line)