Patch 9.0.0591
Problem: Message window popup shows on only one tab page. (Naruhiko
Nishino)
Solution: Show the message window popup on all tab pages. (closes #11231)
Files: src/popupwin.c, src/testdir/test_messages.vim,
src/testdir/dumps/Test_echowindow_8.dump
*** ../vim-9.0.0590/src/popupwin.c 2022-09-22 19:02:34.780908293 +0100
--- src/popupwin.c 2022-09-26 12:55:21.694868217 +0100
***************
*** 2053,2058 ****
--- 2053,2060 ----
}
}
}
+ else if (popup_is_notification(type))
+ tabnr = -1; // show on all tabs
// Create the window and buffer.
wp = win_alloc_popup_win();
*** ../vim-9.0.0590/src/testdir/test_messages.vim 2022-09-25 18:44:00.405205890 +0100
--- src/testdir/test_messages.vim 2022-09-26 12:52:38.994740452 +0100
***************
*** 475,480 ****
--- 475,484 ----
call term_sendkeys(buf, "\<CR>")
call VerifyScreenDump(buf, 'Test_echowindow_7', {})
+ call term_sendkeys(buf, ":tabnew\<CR>")
+ call term_sendkeys(buf, ":echowin 'more'\<CR>")
+ call VerifyScreenDump(buf, 'Test_echowindow_8', {})
+
" clean up
call StopVimInTerminal(buf)
call delete('XtestEchowindow')
*** ../vim-9.0.0590/src/testdir/dumps/Test_echowindow_8.dump 2022-09-26 12:55:40.982876649 +0100
--- src/testdir/dumps/Test_echowindow_8.dump 2022-09-26 12:52:45.014747197 +0100
***************
*** 0 ****
--- 1,8 ----
+ | +8#0000001#e0e0e08|+| |[|N|o| |N|a|m|e|]| | +2#0000000#ffffff0|[|N|o| |N|a|m|e|]| | +1&&@49|X+8#0000001#e0e0e08
+ > +0#0000000#ffffff0@74
+ |~+0#4040ff13&| @73
+ |═+0#e000002&@74
+ |l|a|t|e|r| |m|e|s@1|a|g|e| @61
+ |m|o|r|e| @70
+ |:+0#0000000&|e|c|h|o|w|i|n| |'|m|o|r|e|'| @59
+ @57|0|,|0|-|1| @8|A|l@1|
*** ../vim-9.0.0590/src/version.c 2022-09-25 20:58:08.801019377 +0100
--- src/version.c 2022-09-26 12:50:14.606521896 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 591,
/**/
--
If Microsoft would build a car...
... You'd have to press the "Start" button to turn the engine off.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///