Skip to content

Window resizing by setting columns and rows doesn't properly redraw it #732

@eirnym

Description

@eirnym

[GUI only]
When vim :set command resizes a window by setting columns and rows directly, MacVim doesn't redraw window with background color set.

Issue is reproducable in all builds at least after 122 and not connected with recent guioptions changes. Earlier don't want to open on my machine and I don't want to investigate reasons. As far as I remember, some earlier builds had no this issue.

Minimal list of commands to reproduce feature on (dark background is for contrast):

colo darkblue
setlocal columns=85

A quick demonstration with opeining Python file:
out

Minimal .vimrc for this demonstration is:

fun! PythonSetup()
    setlocal ts=4 sts=4 sw=4 nu
    setlocal colorcolumn=79
    if has('gui_running')
        setlocal columns=85
    endif
endfun

autocmd FileType python call PythonSetup()

Metadata

Metadata

Assignees

No one assigned

    Labels

    RendererText rendering issues, including CoreText renderer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions