macvim-dev / macvim-dev/macvim

saving causes tab gui mouse label to flash

Open
#1,218 0 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

Describe the bug
Triggering a write with unsaved buffers causes a label to flash when the mouse cursor is hovering over tabs.

If you have various kinds of autosave features enabled, as I do, this results in the mouse label flashing constantly during editing.

To Reproduce

  1. /Applications/MacVim.app/Contents/bin/mvim --clean
  2. :e 0.txt
  3. :tabnew 1.txt
  4. move mouse over the tab for 1.txt and ensure it is selected by clicking it
  5. without moving the mouse, cause changes to 1.txt by entering insert mode o, typing asdfg, escaping <esc>, and saving :w<cr>
  6. The gui label 1.txt flashes on the tab as the save completes. This is the informative label that describes the tab name on mouse hover.

Expected behavior
I would hope that the label would stay invisible.

Environment (please complete the following information):

  • MacVim 8.2.3455, latest as of date
  • OS: MacOS Big Sur 11.6

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 flash with /Applications/MacVim.app/Contents/bin/mvim --clean using the listed :e, :tabnew, editing, and :w sequence on macOS. Start by tracing MacVim's tab mouse-hover label handling during a save, and verify that the label remains invisible when the cursor stays over the selected tab.

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.