Skip to content
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

font face/size causes minibuffer to change in size #270

Open
Luis-Henriquez-Perez opened this issue Dec 13, 2020 · 2 comments
Open

font face/size causes minibuffer to change in size #270

Luis-Henriquez-Perez opened this issue Dec 13, 2020 · 2 comments

Comments

@Luis-Henriquez-Perez
Copy link
Contributor

Sometimes when I change the face or the font, then invoke the minibuffer and start moving through candidates, the minibuffer changes from one height to another. Specifically, the height of the minibuffer decreases this happens when I move from the first candidate to the second candidate, then it stays constant. This happens even when selectrum-fixed-minibuffer-height is set to t.

I still have this under observation.

@clemera
Copy link
Collaborator

clemera commented Dec 13, 2020

Thanks, could you provide a more detailed recipe?

@clemera clemera added the waiting on response Needs more info or follow-up, will be closed after 90 days if no response label Dec 13, 2020
@Luis-Henriquez-Perez
Copy link
Contributor Author

First, heres a gif of what I'm talking about. If you look carefully, you notice a decrease in the minibuffer size when going from the first element to the next.

output-2020-12-14-15:31:32

As I observe this behavior more, test it on a different machine, and try just installing selectrum alone, I'll add more information to this issue. For now all I know is that this behavior happens at some point after switching the default font. Also it doesn't happen immediately in my emacs session. So I need to try to trace down when it begins to happen.

Furthermore, this minibuffer size shift only happens when going from the first to the second element. It also doesn't seem to occur with Jetbrains Mono font for some reason. However, changing the font to Jetbrains Mono and this doesn't show.

This is what I use to change the font.

(defun void/set-font-face ()
  "Apply an existing xfont to all graphical frames."
  (interactive)
  (set-frame-font (completing-read "Choose font: " (x-list-fonts "*")) nil t))

@clemera clemera removed the waiting on response Needs more info or follow-up, will be closed after 90 days if no response label Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants