-
Notifications
You must be signed in to change notification settings - Fork 141
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
posframe-integration: dont create posframe on every request #465
base: master
Are you sure you want to change the base?
Conversation
cc @Sorixelle |
What's your configuration for |
Actually, I think this is a problem on posframe. It seems like, from https://github.com/tumashu/posframe/blob/master/posframe.el#L703-L711, that the posframe's position is only updated when the position is different from last time (we're always passing the same poshandler so it doesn't change), and when the parent frame's size changes (which is unlikely to happen). When you create a new frame, the variables that store the previous values are zeroed out (https://github.com/tumashu/posframe/blob/master/posframe.el#L306-L308), so the frame gets positioned properly. |
@Sorixelle The issue is indeed inside See this PR tumashu/posframe#65 |
@Sorixelle, I've created PR to fix problem on |
Positioning is better, but there also seems to be an issue where the window in the frame isn't correctly sized all the time. In this recording, once I focus the frame, I hold down EDIT: Just checked in case, this issue is happening for me as well when |
@Sorixelle What's your setup again? Can you have minimal repro for this? |
Per this #464 (comment)