macvim-dev / macvim-dev/macvim

Freeze when exiting a taglist window

Open
#531 19 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.