[vim/vim] Fix opacity popup redraw when moving and wide-char clipping at padding edges (PR #19881)

2 views
Skip to first unread message

mattn

unread,
11:35 AM (9 hours ago) 11:35 AM
to vim/vim, Subscribed

This fixes two rendering issues with partially transparent popup windows.

First, updating an opacity popup through popup_setoptions() or popup_settext() could leave stale blended cells behind. The screen under the old popup area was not always redrawn sufficiently, so parts of the previous frame could remain visible.

Second, when the left padding edge of a popup overlapped the right half of a double-width character, clipping was handled incorrectly. In that case the double-width character itself should disappear and be treated as spaces, but the popup background blend could extend into the uncovered half. After this change, only the covered half gets the popup background blend.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19881

Commit Summary

  • 3457681 Fix opacity popup redraw and wide-char padding clipping

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19881@github.com>

Reply all
Reply to author
Forward
0 new messages