abo-abo / swiper

Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!
https://oremacs.com/swiper/
2.27k stars 337 forks source link

ivy-current-match face sometimes fails to take effect #3031

Open ahihi opened 7 months ago

ahihi commented 7 months ago

Emacs 29.1, macOS 10.13, latest ivy from master

in this video, i am repeatedly pressing the down arrow in ivy-switch-buffer, but the ivy-current-match face mysteriously goes missing for some buffer names, making it impossible to see what is currently selected.

https://github.com/abo-abo/swiper/assets/738615/6f2f8512-cd7e-42d3-89f9-c8e7a42b54be

it seems to happen somewhat consistently for particular combinations of filter string and buffer name, but the exact triggering condition is still unclear to me.

another case is seen in the screenshot below, which suggests all the properties of the ivy-current-match face get deactivated at the point where ivy-minibuffer-match-face takes effect.

ivy-bug-2

but again it works fine in another similar case...

ivy-bug-3

i have so far failed to create a minimal reproducible test case, so i am open to any suggestions on how to debug this.