macvim-dev / macvim-dev/macvim
Freeze when exiting a taglist window
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
I am using the taglist plugin. I've found a strange issue: when I open a taglist window—with :TlistOpen—and then try closing the whole MacVim window without closing the taglist window separately with :TlistClose, MacVim freezes.
More investigation shows that this apparently innocent line in taglist.vim caused the freeze (commenting it out eliminates the problem):
let &columns= &columns - (g:Tlist_WinWidth + 1)
It looks like bug in MacVim. There is no such problem in, say, gVim for Windows.
I am currently using macvim stable 8.0-134 (bottled) from Homebrew.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
通过使用 :TlistOpen 打开 taglist 窗口并关闭整个 MacVim 窗口,重现 MacVim 8.0-134 中的卡死问题。首先检查 taglist.vim 中修改 &columns 的那一行,将该行注释掉时的行为与 Windows 版 gVim 的行为进行比较。当 taglist 窗口处于打开状态时关闭 MacVim 不再导致卡死,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100