vertico-posframe icon indicating copy to clipboard operation
vertico-posframe copied to clipboard

First letter sometimes is cutted

Open otavioschwanck opened this issue 4 years ago • 5 comments

image

otavioschwanck avatar Feb 27 '22 22:02 otavioschwanck

I do not know why, maybe you can try with 'emacs -Q'

tumashu avatar Mar 07 '22 05:03 tumashu

FWIW, M-x vertico-posframe-cleanup seems to solve this issue (not sure what triggers it just yet, though).

Patryk27 avatar Apr 26 '22 12:04 Patryk27

I came across this issue sometimes. But can't find a certain way to reproduce it.

C1oud555 avatar Dec 12 '22 09:12 C1oud555

Me too. Meet this problem sometimes. Can't find out the pattern of reason. You can see, not just the candidate hidden prefix part, also the prompt hidden some part too.

Screenshot 2023-05-06 at 12 12 38@2x

stardiviner avatar May 06 '23 04:05 stardiviner

After checking source code. My suspect points is posframe-show's option :lines-truncate.

https://github.com/tumashu/vertico-posframe/blob/7da6d648ff4202a48eb6647ee7dce8d65de48779/vertico-posframe.el#L288

And in posframe.el library soruce code:

https://github.com/tumashu/posframe/blob/3b97dc180b03498103cfcc7f44e64150df440bf0/posframe.el#L443

https://github.com/tumashu/posframe/blob/3b97dc180b03498103cfcc7f44e64150df440bf0/posframe.el#L628

The truncate-lines is from Emacs built-in support, I guess maybe Emacs built-in truncate-lines has issue.

This is what I can find. Hope someone can locate the problem.

stardiviner avatar May 06 '23 05:05 stardiviner