macvim-dev / macvim-dev/macvim
Quicklook highlight isn't cleared for selected texts when followed by another quicklook
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce
- Select multiple words and do quicklook.
- Hover over a different word and invoke quicklook again.
- And again.
Expected behaviour
The first quicklook highlight (ice cream) should clear when the second quicklook is invoked.
Version of MacVim
MacVim r182 (Vim 9.1.1887)
MacVim installation method
MacVim was downloaded from GitHub release and updated via Sparkle.
Environment
macOS: 15.7.3
14" MacBookPro (2023). Apple M2 Pro
Logs and stack traces
Vim and MacVim configuration where issue is reproducable
No response
How was MacVim launched?
- by launching MacVim.app in macOS (by using the Dock, Spotlight, or the
opencommand) - by running mvim/gvim in the terminal
Issue has been tested with clean configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution). You can also use the File → "New Clean Window" menu item within MacVim. - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
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
Start by reproducing the issue in MacVim.app with the described sequence of selected text and repeated quicklook invocations. Trace the quicklook and highlight handling in the MacVim source, then verify that invoking a later quicklook removes the earlier highlight while preserving the current one.
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
- 42/100