macvim-dev / macvim-dev/macvim
saving causes tab gui mouse label to flash
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
- /Applications/MacVim.app/Contents/bin/mvim --clean
- :e 0.txt
- :tabnew 1.txt
- move mouse over the tab for 1.txt and ensure it is selected by clicking it
- without moving the mouse, cause changes to 1.txt by entering insert mode
o, typingasdfg, escaping<esc>, and saving:w<cr> - The gui label
1.txtflashes 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
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 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