macvim-dev / macvim-dev/macvim
Issues after last commit to src/MacVim/MMBackend.m
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Vim Script
- Star
- 7.9k
- Fork
- 691
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu trong src/MacVim/MMBackend.m và kiểm tra thay đổi thêm [self processInputQueue] sau CFRunLoopRunInMode. Tái hiện các hiện tượng bất thường về tô sáng và cuộn khi khởi động bằng các thiết lập gvimrc được báo cáo trên macOS, sau đó so sánh hành vi khi hoàn nguyên dòng đó. Công việc được xem là hoàn tất khi đã cô lập được hồi quy và hành vi phù hợp được quy trình xác minh hiện có của dự án bao phủ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- macos, objective-c, vim
- Lĩnh vực
- desktop
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100