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

Black screen with popups #299

Open lambdadelta34 opened 5 years ago

lambdadelta34 commented 5 years ago

lsp-ui opens strange black screen where peek popups are displayed.

image

yyoncho commented 5 years ago

Is it reproducible with using emacs -q -l lsp-start-plain.el from here - https://github.com/emacs-lsp/lsp-mode/blob/master/scripts/lsp-start-plain.el ? (you will have to add haskell mode to the list of packages to install).

lambdadelta34 commented 5 years ago

Yes, it is. I updated that i have emacs-plus, not original gnu emacs. I'll try to reproduce with original version. Also it is reproducible with ruby.

lambdadelta34 commented 5 years ago

Tried with original version, opens blank black screen when in fullscreen, peek was overlapping sideline. image

lambdadelta34 commented 5 years ago

That's actually lsp-ui-doc, disabled it for now.

SavageMessiah commented 4 years ago

This is still happening, lsp-ui 20191125.2102, macos 10.14.6, emacs-plus 26.3. This is from spacemacs but I doubt it makes a difference. I've seen a window briefly flash up and then close when the doc overlay pops up and emacs is not fullscreen. When its fullscreen another black fullscreen window opens up and somehow steals the menubar - if I put the cursor at the top of the screen in the actual useful emacs window the menubar does not come down, but if I do that on the black screen it does what I would expect. Weird. I think the first time this happened, emacs prompted me to grant it accessibility access, if that means anything.

I'm going to disable the doc overlay for now as well, but it would be nice to get this fixed, the overlay is useful.

tbtommyb commented 4 years ago

I am experiencing the exact same behaviour as @SavageMessiah with lsp-ui-20200115.1352, macOS 10.14.2 and GNU Emacs 26.2. Happy to do some debugging if anyone can give me a pointer.

kangxiaoning commented 4 years ago

I am experiencing the exact same behaviour as @SavageMessiah with lsp-ui-20200115.1352, macOS 10.15.3 and GNU Emacs 26.3.

seabadger commented 4 years ago

When its fullscreen another black fullscreen window opens up and somehow steals the menubar - if I put the cursor at the top of the screen in the actual useful emacs window the menubar does not come down, but if I do that on the black screen it does what I would expect.

I'm experiencing the same. MacOS 10.15.5, Emacs for MacOS X (GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-09-02)

petsgre commented 4 years ago

I have the same situation. when i fullscreen the emacs. It will open a new black window emacs 26.3 macOS High Sierra 10.13.6

ilkka commented 4 years ago

FWIW this happens with spacemacs + eshell + company as well, so it's not just an LSP thing

siraben commented 4 years ago

I have this same issue with lsp-ui on

Emacs 27.1 macOS Catalina 10.15.6

simpsonw commented 3 years ago

Same behavior using Spacemacs develop branch on macOS Big Sur (11.4) with Emacs 27.2.