-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to read anything from the completions #1099
Comments
How did you reproduce it? |
Have you try |
So I'm finally able to reproduce it reliably. The line |
I have "fixed" this for now. It is very hacky but my solution was to override the (defun acm-frame-init-colors (&optional force)
(set-face-attribute 'acm-frame-default-face nil :background "white" :foreground "black")
(set-face-attribute 'acm-frame-select-face nil :background "burlywood3" :foreground "black")) It doesn't seem right to me that in Also I've noticed in ;; Make sure menu follow the theme of Emacs.
(when (or force (equal (face-attribute 'acm-frame-default-face :background) 'unspecified))
(set-face-background 'acm-frame-default-face (acm-frame-color-blend default-background blend-background (if is-dark-mode 0.8 0.9))))
(when (or force (equal (face-attribute 'acm-frame-select-face :background) 'unspecified))
(set-face-background 'acm-frame-select-face (acm-frame-color-blend default-background blend-background 0.6)))
(when (or force (equal (face-attribute 'acm-frame-select-face :foreground) 'unspecified))
(set-face-foreground 'acm-frame-select-face (face-attribute 'font-lock-function-name-face :foreground))))) EDIT: Things aren't really "fixed" after all. It seems I can change the background that way but foreground is still stuck on black. It's still better than nothing though. |
@nolovelost Did you use lsp-bridge in terminal or GUI? |
This is in GUI. Native windows build v29.1. |
Maybe cause by Line 755 in 6f08095
|
I'm not sure if it's the same issue, but I also experienced trouble with persisting color changes when I was attempting to support switching themes using It's probably not the best solution, but I found the following workaround:
|
As the tile says, due to the way the face attributes are set (or maybe some overlay?), I'm unable to read anything returned as candidates for completion.
acm-frame-select-face
itself is working fine but I haven't been able to change the unselected candidates' face attributes to make them readable. I've tried change foreground attributes for severalacm-
andlsp-bridge-
faces but none of the changes have affected it.acm-frame-select-face
does properly change the selected one from the list however.Could you let me know exactly what face should I be modifying and maybe hint at what else could be causing this?
Below is an example image:
In this screenshot you can see the completion frame is dark upon dark making it very difficult to read. On actual use in fact, inside emacs, the text is way darker and impossible to read.
The text was updated successfully, but these errors were encountered: