#How to save macvim install
Same problem: The macvim icon appears in the doc and the menu is active, but there is no window, and no way to create a window. I uninstalled the old version, cloned this repro and built from source today. I'm hitting this 100% of the time after installing El Capitan, meaning my macvim installation is completely hosed.
#How to save macvim windows
When this happens are you doing a lot of other stuff with other applications that have a ton of windows open? Seems like it would be a really difficult limit to hit unless some application was somehow leaking them in the background. vimrc and plugins ( mvim -u NONE)?Ī quick bit of poking around for information about the error message on the top of the stack trace suggests it's a low-level thing caused, potentially, by starving the window manager for window resources.
I also can't reproduce it when I repeat the steps you give (use external monitor, quit MacVim, disconnect, launch MacVim).ĭoes it reproduce reliably for you? Does it reproduce reliably if you run MacVim without loading your own. I can't reproduce this by forcing MMTopLeftPoint to be what your example shows, or otherwise obviously off my screen (some coordinate at like 90,000) or something. If none is found, it fits the frame of the window to the current screen. If the point extracted from NSUserDefaults is non-zero, MacVim attempts to find the screen containing the given point. It happens in MMAppController.m:764 or so (in windowControllerWillOpen:). This is interesting, because MacVim does realize this and adjust the window position. This happens when I work on a macbook with a large external display connected, quit MacVim, disconnect the display, then try to launch MacVim again. I've traced it down to MacVim trying to restore its window in a place that is outside of current screen.