To: vim_dev@googlegroups.com Subject: Patch 9.0.1566 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1566 Problem: Motif: GUI scrollbar test fails in 24 lines terminal. Solution: Skip the part of the test that fails for now. Files: src/testdir/test_gui.vim *** ../vim-9.0.1565/src/testdir/test_gui.vim 2023-03-06 15:29:26.196524684 +0000 --- src/testdir/test_gui.vim 2023-05-18 20:04:35.072746221 +0100 *************** *** 733,744 **** call assert_equal(1, winline()) call assert_equal(11, line('.')) ! " scroll to move line 1 at top, cursor stays in line 11 ! let args = #{which: 'right', value: 0, dragging: 0} ! call test_gui_event('scrollbar', args) ! redraw ! call assert_equal(11, winline()) ! call assert_equal(11, line('.')) set nowrap call setline(11, repeat('x', 150)) --- 733,747 ---- call assert_equal(1, winline()) call assert_equal(11, line('.')) ! " FIXME: This test should also pass with Motif and 24 lines ! if &lines > 24 || !has('gui_motif') ! " scroll to move line 1 at top, cursor stays in line 11 ! let args = #{which: 'right', value: 0, dragging: 0} ! call test_gui_event('scrollbar', args) ! redraw ! call assert_equal(11, winline()) ! call assert_equal(11, line('.')) ! endif set nowrap call setline(11, repeat('x', 150)) *** ../vim-9.0.1565/src/version.c 2023-05-18 16:42:13.667307702 +0100 --- src/version.c 2023-05-18 20:06:42.060826757 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1566, /**/ -- Light travels faster than sound. This is why some people appear bright until you hear them speak /// Bram Moolenaar -- Bram@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 ///