[vim/vim] Screen loses one line after jumping from full-screen quickfix window (Issue #20495)

12 views
Skip to first unread message

rendcrx

unread,
Jun 12, 2026, 8:19:45 PMJun 12
to vim/vim, Subscribed
rendcrx created an issue (vim/vim#20495)

Steps to reproduce

default.png (view on web)
:grep include src/buffer.c
:copen
:wincmd o
:<CR>

Expected behaviour

The screen should display all lines correctly with no missing bottom line.

Similar: #3378
Patch: #20403

The trigger scenario is similar, but occurs via jump rather than directly switching buffers.

Maybe we should also do the same action at qf_jump*?

Version of Vim

9.2.623

Environment

N/A

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20495@github.com>

rendcrx

unread,
Jun 15, 2026, 10:17:39 PMJun 15
to vim/vim, Subscribed
rendcrx left a comment (vim/vim#20495)

I wrote a temporary map to work around this error.

nnoremap <silent> <buffer> <CR> :call <SID>tmp_fix_jump_error()<CR>
function! s:tmp_fix_jump_error()
  let id = win_getid()
  silent setl nowinfixheight
  silent execute "normal! \<CR>"
  silent call win_execute(id, 'resize 10')
  silent call win_execute(id, 'setl winfixheight')
endfunction


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20495/4714227585@github.com>

rendcrx

unread,
Aug 27, 2026, 8:48:06 PM (5 days ago) Aug 27
to vim/vim, Subscribed
rendcrx left a comment (vim/vim#20495)

Hi @h-east, with this fix, the quickfix window no longer keeps its original opening height. Is this expected behavior?

Image: Image (view on web)
  • copen
Image: Image (view on web)
  1. copen
  2. <C-w>o
  3. <CR>


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20495/5446971745@github.com>

Reply all
Reply to author
Forward
0 new messages