macvim-dev / macvim-dev/macvim

Quicklook highlight isn't cleared for selected texts when followed by another quicklook

Open
#1,630 1 comment 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

Steps to reproduce
  1. Select multiple words and do quicklook.
Image
  1. Hover over a different word and invoke quicklook again.
Image
  1. And again.
Image
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 open command)
  • by running mvim/gvim in the terminal
Issue has been tested with clean configuration
  • by running mvim --clean (or gvim, 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.