posframe-integration: dont create posframe on every request#465
posframe-integration: dont create posframe on every request#465kiennq wants to merge 1 commit intoemacs-lsp:masterfrom
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)