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 139 forks source link

lsp-ui-doc: When lsp-ui-doc-show-with-mouse is t, help-echo tooltip is not shown #523

Closed tsuu32 closed 3 years ago

tsuu32 commented 3 years ago

Emacs: GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1894.60 Version 10.15.7 (Build 19H2))

When lsp-ui-doc-show-with-mouse is t, help-echo tooltip is not shown. I noticed this when I moved mouse onto modeline. Other non lsp-mode buffers can show tooltips correctly.

When I put (setq lsp-ui-doc-show-with-mouse nil) in init file, tooltips are shown correctly.

tsuu32 commented 3 years ago

I investigated this problem. The buffers which track-mouse is set to t don't show help tooltip. So this is not lsp-ui-doc problem.

andreyorst commented 3 years ago

@tsuu32 have you managed to find any workaround for this? (not by disabling showing of lsp-doc on mouse hover)

tsuu32 commented 3 years ago

Hi, @andreyorst. I disable lsp-ui-doc-show-with-mouse so I don't know any workaround.