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

Black screen with popups

Open lambdadelta34 opened this issue 5 years ago • 12 comments

  • Emacs-plus 26.2
  • macOS Mojave 10.14.5
  • lsp-ui 20190523.1521

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

image

lambdadelta34 avatar Jun 23 '19 20:06 lambdadelta34

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).

yyoncho avatar Jun 23 '19 20:06 yyoncho

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 avatar Jun 23 '19 21:06 lambdadelta34

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

lambdadelta34 avatar Jun 23 '19 21:06 lambdadelta34

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

lambdadelta34 avatar Jun 28 '19 11:06 lambdadelta34

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.

SavageMessiah avatar Nov 26 '19 21:11 SavageMessiah

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.

tbtommyb avatar Jan 23 '20 13:01 tbtommyb

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

kangxiaoning avatar Jan 31 '20 11:01 kangxiaoning

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)

seabadger avatar Jun 05 '20 17:06 seabadger

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

petsgre avatar Jun 18 '20 07:06 petsgre

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

ilkka avatar Jul 30 '20 11:07 ilkka

I have this same issue with lsp-ui on

Emacs 27.1 macOS Catalina 10.15.6

siraben avatar Sep 19 '20 12:09 siraben

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

simpsonw avatar Aug 16 '21 17:08 simpsonw