macvim-dev / macvim-dev/macvim
MacVim selects one letter more to the right when selecting by mouse
Nessuno ha ancora preso questa issue.
- Lingua principale
- Vim Script
- Stelle
- 7.9k
- Fork
- 691
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Steps to reproduce
- write text
- put cursor in the middle of the word
- select backwards few letters by clicking mouse
- One letter more to the right has been selected
Screen recording with --clean parameter
https://github.com/user-attachments/assets/df0712a1-63de-4231-8d8f-b7c1bb2ccd0a
Expected behaviour
Other editors, input fields and terminals doesn't exhibit this behaviour. They select exactly the text requested to be selected.
I've tried: Notes.app, Terminal.app, Kitty, Alakritty, VSCode/VSCodium, Jetbrains editors, chat apps, various browsers
Screen recording from Notes.app
https://github.com/user-attachments/assets/8b10f823-66a6-46fc-a2cf-31ae5adb1bbb
Version of MacVim
MacVim r182 (Vim 9.1.1887)
MacVim installation method
GitHub releases
Environment
macOS Version: 15.7.2
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)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo la selezione all'indietro con il mouse in MacVim r182 su macOS 15.7.2 con --clean, quindi confrontala con il comportamento di Vim nel terminale e con le registrazioni dell'editor fornite. Il lavoro è completato quando la selezione all'indietro con il mouse evidenzia esattamente i caratteri richiesti, senza il carattere aggiuntivo a destra.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos, vim
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100