macvim-dev / macvim-dev/macvim
Issues after last commit to src/MacVim/MMBackend.m
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
Describe the bug
I have several issues with the current master:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 30 2020 15:13:09)
macOS version
Included patches: 1-830
At startup, at least some of the highlight commands from gvimrc are not executed. For example, I have:
set cursorline
set cursorlineopt=screenline
hi CursorLine NONE
hi CursorLine gui=underline guisp=gray
but do not get a underline. Furthermore I sometimes see artifacts of my status bar while scrolling.
I suspect the latest changes in src/MacVim/MMBackend.m as the reason for this behaviour. If I revert this part of the commit:
while (CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, true)
== kCFRunLoopRunHandledSource)
; // do nothing
+ [self processInputQueue];
}
- (void)flushQueue:(BOOL)force
I can no longer reproduce the issues and MacVIM behaves as before.
Can someone please check whether the [self processInputQueue]; is necessary at this point or whether it can cause such problems?
Environment (please complete the following information):
- VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 30 2020 15:13:09), Included patches: 1-830
- OS: macOS 10.15.5
- GUI: MacVIM
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 da src/MacVim/MMBackend.m e analizza la modifica che aggiunge [self processInputQueue] dopo CFRunLoopRunInMode. Riproduci gli artefatti di evidenziazione e scorrimento all'avvio con le impostazioni gvimrc segnalate su macOS, quindi confronta il comportamento con quella riga ripristinata allo stato precedente. Il lavoro è completato quando la regressione è isolata e il comportamento appropriato è coperto dal processo di verifica disponibile del progetto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos, objective-c, vim
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100