Skip to content

Gvimdiff window opens one or two columns smaller every time it is opened #1602

@JamesSassano

Description

@JamesSassano

Steps to reproduce

  1. From a terminal type gvimdiff A B (files do not need to exist)
  2. From gvim type :echo winwidth(0)
  3. Note the value
  4. Close gvim
  5. From a terminal type gvimdiff A B
  6. From gvim type :echo winwidth(0)
  7. Note the value is less than the previous value

Expected behaviour

Expect the newly opened window to be the same size as the previously closed window.

Version of MacVim

MacVim r181 (Vim 9.1.1128)

MacVim installation method

brew install macvim

Environment

macOS: 15.7.1 (24G231)
mac: MacBook Pro M4
terminal: Version 2.14 (455.1)

Logs and stack traces

Vim and MacVim configuration where issue is reproducable

No response

How was MacVim launched?

  • by launching MacVim.app in macOS (by using the Dock, Spotlight, or the open command)
  • by running mvim/gvim in the terminal

Issue has been tested with clean configuration

  • by running mvim --clean (or gvim, supplied by MacVim distribution). You can also use the File → "New Clean Window" menu item within MacVim.
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions