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
https://github.com/vim/vim/pull/20188
(1 file)
—
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.![]()