[vim/vim] tests: Test_popup_opacity_vsplit() fails with large terminal (PR #19824)

7 views
Skip to first unread message

Christian Brabandt

unread,
Mar 25, 2026, 5:04:03 PM (2 days ago) Mar 25
to vim/vim, Subscribed

Problem: tests: Test_popup_opacity_vsplit() fails with large terminal
(after v9.2.0230)
Solution: Reduce terminal window size to 60, force termguicolors to make
the opacity visible


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

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

Commit Summary

  • 9e3a1f9 tests: Test_popup_opacity_vsplit() fails with large terminal

File Changes

(3 files)

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/19824@github.com>

Christian Brabandt

unread,
Mar 25, 2026, 6:17:29 PM (2 days ago) Mar 25
to vim/vim, Push

@chrisbra pushed 1 commit.

  • 95ffcf6 fix failing test Test_visual_block_hl_with_autoselect()


View it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19824/before/9e3a1f9d437a68863fd8781fc9eb7083f0b615cd/after/95ffcf65e059c6558c14efffe30feaa0475a1651@github.com>

zeertzjq

unread,
Mar 25, 2026, 7:08:19 PM (2 days ago) Mar 25
to vim/vim, Subscribed
zeertzjq left a comment (vim/vim#19824)

I think changing the char_avail() in clear_showcmd() to something similar to #19801 will fix the flaky test:

diff --git a/src/normal.c b/src/normal.c
index a9b01821d..6f2bcc710 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -1616,7 +1616,8 @@ clear_showcmd(void)
     if (!p_sc)
 	return;
 
-    if (VIsual_active && !char_avail())
+    if (VIsual_active
+	    && stuff_empty() && typebuf.tb_len == 0 && !using_script())
     {
 	int		cursor_bot = LT_POS(VIsual, curwin->w_cursor);
 	long		lines;

And perhaps make the TermWait() unnecessary.


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

Christian Brabandt

unread,
Mar 26, 2026, 3:07:26 PM (15 hours ago) Mar 26
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19824)

thanks, let me try this change


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

Christian Brabandt

unread,
Mar 26, 2026, 3:10:56 PM (15 hours ago) Mar 26
to vim/vim, Push

@chrisbra pushed 1 commit.

  • 162f23d visual selection size not shown in showcmd during scripts


View it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19824/before/95ffcf65e059c6558c14efffe30feaa0475a1651/after/162f23d3e8c37c4011417b321e50c0726c6bec1b@github.com>

Christian Brabandt

unread,
Mar 26, 2026, 4:44:52 PM (13 hours ago) Mar 26
to vim/vim, Subscribed

Closed #19824 via 06aa378.


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

Reply all
Reply to author
Forward
0 new messages