macvim-dev / macvim-dev/macvim
MacVim opens from Terminal (mvim) but does not render interface from Finder
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ả
- macOS Big Sur 11.1
- MacVim Custom Version 8.2.2164 (169)
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 19 2020 21:23:05)
macOS version
Included patches: 1-2164
Compiled by root@Mac-1608412769109.local
Huge version with MacVim GUI.
This is macvim: 8.2.2164,169 (auto_updates) installed as a cask from Homebrew.
When I launch MacVim using the mvim script from Terminal, it launches the app and renders a GUI window. Everything is as it should be.
But when launching from Finder (either Cmd-space and typing MacVim.app, or double clicking the app bundle from the Applications folder, the app runs; it creates an icon in the dock, it presents a menu, but it doesn't render a window for the editor. Cmd-O opens a dialog to select a file to open, but opening a file does not render an editor window for the file. The Window menu does not list any open app windows. It's running and responding appropriately, but not rendering a window when launched from Finder.
I've seen this behavior in several macOS releases now over the years. It's sporadic. When the issue occurs, it's frustrating and I move on, but at some point I switch back to the MacVim task and open a new window, and it just works as if there was never an issue.
As an experiment I backed up and removed my existing .vim/, .viminfo and .vimrc which are customized. Afterward, MacVim launched correctly (rendered windows) from Finder. I'll review settings but it's not clear to me why a customization would cause failures running from finder vs. running from start script in Terminal.
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 bằng cách so sánh MacVim được khởi chạy thông qua script mvim với MacVim.app được khởi chạy từ Finder, sử dụng các tùy chỉnh .vim/, .viminfo và .vimrc được báo cáo làm các biến chính. Tái hiện hành vi cửa sổ bị thiếu với cấu hình của người dùng, sau đó xác định tùy chỉnh hoặc khác biệt nào trong ngữ cảnh khởi chạy ngăn cửa sổ trình soạn thảo được hiển thị, và xác minh rằng việc khởi chạy từ Finder hoạt động mà không xóa các cài đặt không liên quan.
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, 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
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100