]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0614: opacity popup leaves stale cells v9.2.0614
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Wed, 10 Jun 2026 20:24:48 +0000 (20:24 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 10 Jun 2026 20:24:48 +0000 (20:24 +0000)
commitfab9ce9996f3d0b2528db010118d733b9dc6b5a8
treeda7f2de35dd3a8c67e239e55ec5603650bd4a82c
parent6c501f71eab5031043547ffdfa6b469250006933
patch 9.2.0614: opacity popup leaves stale cells

Problem:  Background redraws under an opacity popup update ScreenLines[]
          but suppress terminal output, so the terminal no longer
          matches ScreenLines[] for those cells.  Later draws skipped
          them as "unchanged", leaving parts of the old popup on screen
          after popup_settext() or popup_clear().
Solution: Track cells whose output was suppressed under an opacity popup
          and force their next output.

fixes:  #20459
closes: #20471

Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/screen.c
src/testdir/dumps/Test_popupwin_opacity_settext_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_popupwin_opacity_settext_2.dump [new file with mode: 0644]
src/testdir/dumps/Test_popupwin_opacity_settext_3.dump [new file with mode: 0644]
src/testdir/test_popupwin.vim
src/version.c