macvim-dev / macvim-dev/macvim
Freeze when exiting a taglist window
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the freeze in MacVim 8.0-134 by opening a taglist window with :TlistOpen and closing the whole MacVim window. Start by inspecting the taglist.vim line that changes &columns, comparing behavior with that line commented out and with gVim for Windows. Done means closing MacVim no longer freezes while the taglist window is open.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100