-
Notifications
You must be signed in to change notification settings - Fork 55
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
face conflict in README instructions with mouse highlight #107
Comments
I didn't notice because I never use the mouse with this :-) I see this on both selectrum and vertico, now that I look. Edit: I'm not that knowledgeable about Emacs faces. PS - I opened a new issue, since it's orthogonal to the other one. |
Actually, I just tested by setting @clemera @minad - I see the same in both selectrum and vertico. Basically, we want use a "dim" or "inactive" face on annotations, but when mousing over the candidates, you can see in the above screenshots what happens. Is this expected, and if yes, is there a workaround? If not, we can submit an issue. This is the setting he is using: (setq bibtex-actions-symbols
`((pdf . (,(all-the-icons-icon-for-file "foo.pdf" :face 'all-the-icons-dred) .
,(all-the-icons-icon-for-file "foo.pdf" :face 'bibtex-actions-icon-dim)))
(note . (,(all-the-icons-icon-for-file "foo.txt") .
,(all-the-icons-icon-for-file "foo.txt" :face 'bibtex-actions-icon-dim)))
(link .
(,(all-the-icons-faicon "external-link-square" :v-adjust 0.02 :face 'all-the-icons-dpurple) .
,(all-the-icons-faicon "external-link-square" :v-adjust 0.02 :face 'bibtex-actions-icon-dim)))))
;; Here we define a face to dim non 'active' icons, but preserve alignment
(defface bibtex-actions-icon-dim
'((((background dark)) :foreground "#282c34")
(((background light)) :foreground "#fafafa"))
"Face for obscuring/dimming icons"
:group 'all-the-icons-faces) |
I am not using the mouse, so this is low priority for me. I am also not using icons. But the screenshots look beautiful 👍 I like the work you are doing here! |
Me too. But does that suggest you think it's an issue with the completion systems?
Thanks! Inspired in part by your work, and help! |
I don't use the mouse either. So perhaps you can help me here. Is there a way of making it so the mouse doesn't, just by virtue of the mouse pointer being where it is, change the faces of anything? I don't have to do anything to the mouse for this to happen: if it so happens that the pointer was right above where a line in the mini buffer shows up, that line gets highlighted whether I like it or not. |
Usually face issues are issues with the theme or with the Emacs display engine. Often the completion system doesn't have to do much with this. |
Ok, I guess |
OK; good to know. We're seeing the behavior on two different themes, including (on mine) modus-operandi, which I know has explicit support for selectrum and vertico. In any case, @apc, you should probably take a look there first, if you want to sort this out? |
I'll keep looking. I tried the
This is what it looks like, with And this is what it looks like when the mouse is hovering (note that the color of But this doesn't seem to be related to The puzzling thing is that
You can close this (again!) as far as I'm concerned. |
FYI: this appears to be a known issue. |
@apc - any chance you submitted a bug report to Emacs?
…On Sun, Apr 18, 2021, 8:36 PM apc ***@***.***> wrote:
FYI: this appears to be a known issue
<radian-software/selectrum#508>.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#107 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAI3U56QR7QPXYID5KLJTTJN3HVANCNFSM43EGZAVQ>
.
|
No, I haven't. I don't think I understand overlays and faces and all that well enough to know if this would be a bug report or a feature request... |
I'd call it a bug report, given what you turned up. And it's easily reproducible, as you've demonstrated. |
Do you have any idea why the face properties specified as in the
all-the-icons
setup from the README are being overridden byselectrum-mouse-highlight
?Perhaps it'd be best to explain the odd behavior I'm encountering. Using the values for
bibtex-actions-symbols
from that snippet in the README, I get (as expected) that the pdf icon (e.g.) for an entry without a corresponding pdf is displayed in the facebibtex-actions-icon-dim
. If, however, my mouse happens to be hovering over that entry, the icon is displayed using (I think?) thedefault
face:Without the pesky mouse hovering over anything:
With the mouse:
Originally posted by @apc in #94 (comment)
The text was updated successfully, but these errors were encountered: