[vim/vim] popup: leftover content after popup_free under layout change (PR #20188)

1 view
Skip to first unread message

mattn

unread,
May 10, 2026, 10:30:22 PM (13 hours ago) May 10
to vim/vim, Subscribed

When a visible popup is freed, popup_redraw_exposed_area is a no-op for non-opacity popups, and the diff-based popup_mask cleanup in may_update_popup_mask() cannot reach cells under it once the popup is gone. A follow-up command that changes the layout (such as copen invoked from the popup's filter) then leaves stale popup content on screen. Force the exposed-area redraw whenever the popup was visible by reusing the existing popup_area_T helpers; the post-free redraw_all_later / popup_mask_refresh path stays gated on opacity as before.

Closes #20178


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

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

Commit Summary

  • 9622064 popup: leftover content after popup_free under layout change

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20188@github.com>

Reply all
Reply to author
Forward
0 new messages