You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MacVim doesn't hide menu bar in secondary display when using pre-Lion fullscreen #7
This issue is not in any way about old versions of OS X. It is about one of the two styles of "fullscreen behavior" we support, both of which work and are meant to work on 10.7 and up. (One of them doesn't and can't work on 10.6 or under.) Indeed, my original report of this issue is of incorrect behavior on Yosemite. The label "Deprecated OSX" is not right, so I'm going to remove it.
As to whether this behavior is still happening, I can't test this right now since I am not at a desk with an external monitor.
Anyway we don't need MMFullScreenWindow for 10.10 or later. We should make MMFullScreenWindow deprecated.
No, no, no, a thousand times no 😄. The older style of fullscreen is preferable to the Lion-and-up style in many ways, depending on one's workflow, and not just aesthetically. My workflow depends on its existence.
It is a giant pain in the butt to wait for the Mac's animation delay when switching into Lion-and-up mode. Also, that forces the newly-fullscreened window onto a different space than it used to be on, which is annoying enough even if it didn't carry an annoying animation delay with it. Also, it prevents there being two fully-fullscreened windows on the same space. Also, it prevents there being a fullscreened window and and non-fullscreened window on the same space. All of these things that the Lion-and-up mode prevents are sometimes useful.
There is just no reason to drop it. It's not hurting anything, and it helps some people.
In fact, the original fullscreen style is almost the entire reason I use MacVim rather than just vim in the console like I used to years ago.
I know some people like the Lion-and-up style too. That's fine. We can have both without problems.
I use both MacVim and iTerm2 with the non-native fullscreen option. Just got an external monitor today and hit this issue, then noticed that iTerm2 doesn't have it. This is on OS X 10.11, macvim snapshot 77 from brew cask.
Unfortunately, I can't write objc/Cocoa, but I grepped the sources a bit and found out something.
function! OnVimEnter()
if has("macunix") && has("gui_running")
set antialias
set fuoptions=maxvert,maxhorz
set fullscreen
endif
endfunction
autocmd VimEnter * call OnVimEnter()
The behaviour I'm seeing is that when MacVim starts the MenuBar is fixed on top and covers part of the first row.
If I then exit fullscreen and enter it again, the window positions itself under the menubar.
any updates on this issue? It would be nice to do what iTerm2 does.
Like @chdiza said my workflow is having iTerm2 and MacVim overlay each other in older-style fullscreen mode and switch between them with a shortcut (or use transparent windows to see through the focused window)
Kind of better late than never, but this is finally fixed! So that's the update 😅.
Will be out in the next update (r170) along with a couple native/non-native fullscreen improvements.
This should be the last single-digit issue to be closed. Hopefully eventually can catch up to the double-digit ones as well (we are in the 4-digit range now).
Activity
chdiza commentedon Apr 29, 2015
This is separate from the white flash issue.
I'm going to bisect later to find out where this non-hiding appeared.
splhack commentedon Nov 7, 2015
It is still happening? and I believe you @chdiza are the only person who uses MacVim on OS X 10.4, 10.5, 10.6, and 10.7. So, could you fix the issue?
chdiza commentedon Nov 7, 2015
This issue is not in any way about old versions of OS X. It is about one of the two styles of "fullscreen behavior" we support, both of which work and are meant to work on 10.7 and up. (One of them doesn't and can't work on 10.6 or under.) Indeed, my original report of this issue is of incorrect behavior on Yosemite. The label "Deprecated OSX" is not right, so I'm going to remove it.
As to whether this behavior is still happening, I can't test this right now since I am not at a desk with an external monitor.
splhack commentedon Nov 7, 2015
how about 10.11? and what is the result of the bisect?
splhack commentedon Nov 7, 2015
Anyway we don't need MMFullScreenWindow for 10.10 or later. We should make MMFullScreenWindow deprecated.
chdiza commentedon Nov 7, 2015
No, no, no, a thousand times no 😄. The older style of fullscreen is preferable to the Lion-and-up style in many ways, depending on one's workflow, and not just aesthetically. My workflow depends on its existence.
It is a giant pain in the butt to wait for the Mac's animation delay when switching into Lion-and-up mode. Also, that forces the newly-fullscreened window onto a different space than it used to be on, which is annoying enough even if it didn't carry an annoying animation delay with it. Also, it prevents there being two fully-fullscreened windows on the same space. Also, it prevents there being a fullscreened window and and non-fullscreened window on the same space. All of these things that the Lion-and-up mode prevents are sometimes useful.
There is just no reason to drop it. It's not hurting anything, and it helps some people.
In fact, the original fullscreen style is almost the entire reason I use MacVim rather than just vim in the console like I used to years ago.
I know some people like the Lion-and-up style too. That's fine. We can have both without problems.
splhack commentedon Nov 7, 2015
Then, what is the result of the bisect?
chdiza commentedon Nov 7, 2015
I will do the bisect when I am sitting at a place that has an external monitor I can use for testing.
cristibalan commentedon Nov 11, 2015
I use both MacVim and iTerm2 with the non-native fullscreen option. Just got an external monitor today and hit this issue, then noticed that iTerm2 doesn't have it. This is on OS X 10.11, macvim snapshot 77 from brew cask.
Unfortunately, I can't write objc/Cocoa, but I grepped the sources a bit and found out something.
It seems that iTerm2 sets the menubar to autohide when entering fullscreen on all screens while MacVim sets the size of the window to be less than the toolbar.
I have the following in my config:
The behaviour I'm seeing is that when MacVim starts the MenuBar is fixed on top and covers part of the first row.
If I then exit fullscreen and enter it again, the window positions itself under the menubar.
Hope this helps.
hkdsun commentedon Mar 9, 2016
any updates on this issue? It would be nice to do what iTerm2 does.
Like @chdiza said my workflow is having iTerm2 and MacVim overlay each other in older-style fullscreen mode and switch between them with a shortcut (or use transparent windows to see through the focused window)
Fix non-native fullscreen not hiding menu/dock in secondary screens
ychin commentedon Dec 27, 2020
Kind of better late than never, but this is finally fixed! So that's the update 😅.
Will be out in the next update (r170) along with a couple native/non-native fullscreen improvements.
This should be the last single-digit issue to be closed. Hopefully eventually can catch up to the double-digit ones as well (we are in the 4-digit range now).
MacVim Snapshot 170