macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.47k stars 680 forks source link

Reported Vim version is null when MacVim is run via GUI #1449

Closed dlejay closed 8 months ago

dlejay commented 8 months ago

Steps to reproduce

  1. Open MacVim via GUI
  2. Click about
  3. See the null version Capture d’écran 2023-10-20 à 16 27 57

Expected behaviour

Show the actual Vim version.

When running mvim from the command line the issue disappears.

Version of Vim and architecture

Good question

Environment

macOS Sonoma

How MacVim was installed

Homebrew

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration

Issue has been tested with no configuration

Other conditions

dlejay commented 8 months ago

Upgrading Macvim solved the issue.

ychin commented 8 months ago

Were you building MacVim yourself in Xcode? The fact that you saw "null" in the version implies to me that you were building MacVim yourself instead of building MacVim using the Makefile. I don't think anything between r177 and r178 would have fixed any issue on this.