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

Hscroll issues #426

Open
aaronjensen opened this issue Feb 10, 2021 · 5 comments
Open

Hscroll issues #426

aaronjensen opened this issue Feb 10, 2021 · 5 comments

Comments

@aaronjensen
Copy link

The input line gets shifted way too early:

CleanShot 2021-02-09 at 18 59 14

Sometimes the candidates get shifted to the middle of the screen:

CleanShot 2021-02-09 at 18 57 41@2x

@clemera
Copy link
Collaborator

clemera commented Feb 11, 2021

Thanks, we can add an option for the first or maybe make use of hscroll-margin like you suggested in the other issue. For the shifted candidates I would need a recipe to reproduce this seems to be an edge case because it doesn't happened with the examples I tried.

@aaronjensen
Copy link
Author

The easiest way to reproduce it is to have some long content in the input line and then slowly resize the emacs frame with the mouse. I’m quite sure I’ve seen it happen naturally without a resize of the frame, but I haven’t seen it recently.

@clemera
Copy link
Collaborator

clemera commented Feb 11, 2021

Resizing the frame with the mouse vertically has other problems but I can't reproduce the candidate misplacement when resizing it horizontally. Maybe this has only been a problem in older older versions if you can reproduce it with the current version please provide a recipe using emacs -Q.

@aaronjensen
Copy link
Author

aaronjensen commented Feb 11, 2021

I don't know how I get Emacs into the state, but this repros it for me, but not if I restart emacs. So, after some time, this starts happening. I realize that's not super helpful, but maybe it'll help someone at some point 😄 I'll keep trying to repro from emacs -Q

(completing-read "Test: " '("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxone" "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxtwo") nil nil "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")

CleanShot 2021-02-11 at 10 06 33@2x

@clemera
Copy link
Collaborator

clemera commented Feb 11, 2021

Okay, thanks, weird that it happens after some time only, I wonder what this is about 👀

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