-
-
Notifications
You must be signed in to change notification settings - Fork 684
Launching MacVim.app shows no window #1062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A few questions that might help narrow things down. These probably sound tedious but they'll help us make sure that we're talking about the same things. First, the "have you tried turning it off and on again" question:
To confirm what resets of preference files means:
To compare what happens with different
To check if there's something weird with the GUI component or if it's all of MacVim:
Hope that helps kickstart the troubleshooting process. Another thing to try is to start up MacVim and then run a Sample from the process info window in the Activity Monitor. That'll help see if it's caught in an infinite loop somewhere. |
@mplough thanks so much for the detailed steps, I'll do my best to address them all.
Aha! If I move all vim-related files out of my home directory, MacVim starts successfully! I moved them back in one at a time and it seems like it's got to be one of my plugins that's causing the issue. I put back
|
I isolated the plugin, it's powerline that's causing it for me. I haven't resolved why yet, but it's definitely the culprit. Thank you @mplough ! Edit to add: The reason I didn't notice it right away is because 1. command line vim seems unaffected and is my primary daily driver and 2. I only sporadically update my plugins and only occasionally close+reopen MacVim. I had updated my plugins several days prior so I didn't connect them. |
@latortuga I use airline plugin for years and have no problems, you can try it as well |
Actually @latortuga , I think your version of MacVim is quite old (8.1.2250). You may want to update to the latest version first. The plugin may work. |
I posted in the ticket the result of |
Just re-opening to track this issue in case we want to look into it. I may re-close in future if it is not bothering you and we haven't diagnosed the issue. |
Today I updated on my two Mac's (Catalina 10.15.6) MacVim to version 8.2.1424 and on both shows no window after start. I did:
|
Hmm @stona1 is this a new issue for you? As in you updated from old to new (version 164) and it went from working fine to broken? What does Also, have you tried launching it with |
Hi ychin, Command: /Applications/MacVim.app/Contents/bin/vim -g --clean shows: So it seems like some library is not loaded. |
Huh that's not good. I'll revoke the current build for now while I figure this out. |
Also, if you have Homebrew, you can do |
I am sorry I am not using Homebrew. Is any other way to work around this issue? |
You can work around this by downloading 163 manually from https://github.com/macvim-dev/macvim/releases. I will need to figure out how to work around the issue before I can release 165, so I don't know when yet. Probably a couple days. |
Btw just to confirm, you downloaded the new version using the built-in updater right? |
Yes, exactly. |
I'm going to use #1073 to track the linkage issue that broke 164, since this issue was for something else. Also, thanks for reporting so quickly! The bad build was only out for 2 hours which hopefully minimized the damage somewhat. |
OK, I will watch #1073 |
I'm closing this issue for now. If you run into this again, @latortuga , it's likely that MacVim is crashing. You could launch it from the console using the |
This is basically the same report as #109 and #66 except that nothing in those issues seems to work for me. I've tried lots of combinations of restarting, pref deleting, opening with sudo, etc. The symptom is exactly the same: click MacVim in the dock, app is open, no window appears. This started happening to me yesterday and I don't think it really coincides with any big changes except perhaps a macOS minor version update.
To Reproduce
Detailed steps to reproduce the behavior:
Expected behavior
A window appears.
Environment (please complete the following information):
Additional context
I'm willing to help troubleshoot but I don't even know where to start.
Screenshots
Here's what happens immediately after launching MacVim:
Forcefully killing that Vim process (had to
sudo kill -9
) causes immediate relief for my CPU and lap.The text was updated successfully, but these errors were encountered: