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

webkit lsp-ui-doc popup not showing up in emacs #747

Open ydzhou opened 1 year ago

ydzhou commented 1 year ago

lsp-ui-doc popup is not showing up in emacs when configured to use webkit

My lsp configuration

(use-package lsp-mode
  :ensure t
  :custom
  (lsp-enable-snippet nil)
  (lsp-keep-workspace-alive t)
  (lsp-enable-xref t)
  (lsp-enable-imenu t)
  (lsp-enable-completion-at-point t)
  (lsp-completion-show-detail t)
  (lsp-ui-doc-delay 1.5)
  (lsp-ui-doc-show-with-mouse t)
  (lsp-ui-doc-show-with-cursor nil)
  (lsp-ui-doc-position 'at-point)
  (lsp-ui-doc-use-childframe t)
  (lsp-ui-doc-use-webkit t)
  (lsp-ui-sideline-show-diagnostics t)
  (lsp-ui-sideline-show-code-actions t)
  (lsp-file-watch-threshold 5000)
  ;; Display all of the info returned by document/onHover under the mode line
  (lsp-eldoc-render-all nil)
  :hook (
  (go-mode . lsp)
  )
  :config
  (setq company-minimum-prefix-length 1)
  :commands (lsp lsp-deferred))

The same configuration works fine for emacs-plus@28 build, but does not work for

  1. emacs-plus@29 build
  2. emacs 28 build for arch linux
gn0 commented 1 year ago

I have this problem too. Issue #313 also reports a problem with webkit but I am not getting the error message that is reported there.