macvim-dev / macvim-dev/macvim

Window doesn't open when launched from the Dock or Finder

未关闭
#1,501 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Vim Script
星标
7.9k
派生
691
PR 合并指标
30 天内没有已合并 PR

描述

Steps to reproduce
  1. Launch MacVim from the Dock or Applications folder
  2. New window does not appear.
  3. File -> New Window and File -> Clean Window does nothing.

I removed .vimrc, .gvimrc, .viminfo, and all plugins and the issue persists.

If MacVim is launched directly in terminal via /Applications/MacVim.app/Contents/bin/mvim, everything works as expected. Similar issue was raised in a Google Groups discussion.

Expected behaviour

A new window should appear when launching the app.

Version of Vim and architecture

9.1.727, r180, arm64

Environment

Operating system: macOS 15.0

How MacVim was installed

Downloaded from GitHub

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration
  • by running MacVim.app from GUI macOS interface
  • by running vim/gvim/etc installed by MacVim
  • by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
  • by running mvim --clean (or gvim, supplied by MacVim distribution)
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
  • The both Homebrew packages "vim" and "macvim" are installed

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先比较从 Dock 或 Applications 文件夹启动 MacVim 与通过 /Applications/MacVim.app/Contents/bin/mvim 启动的情况,因为 issue 报告了这些入口之间存在不同的行为。在 macOS 15.0 上使用所列出的 MacVim 版本复现窗口缺失行为,然后验证以图形方式启动应用以及通过 File → New Window 启动时都会出现新窗口。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, vim
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。