Git Product home page Git Product logo

Comments (11)

hkdsun avatar hkdsun commented on May 18, 2024 1

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)

from macvim.

chdiza avatar chdiza commented on May 18, 2024

This is separate from the white flash issue.

I'm going to bisect later to find out where this non-hiding appeared.

from macvim.

splhack avatar splhack commented on May 18, 2024

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?

from macvim.

chdiza avatar chdiza commented on May 18, 2024

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.

from macvim.

splhack avatar splhack commented on May 18, 2024

how about 10.11? and what is the result of the bisect?

from macvim.

splhack avatar splhack commented on May 18, 2024

Anyway we don't need MMFullScreenWindow for 10.10 or later. We should make MMFullScreenWindow deprecated.

from macvim.

chdiza avatar chdiza commented on May 18, 2024

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.

from macvim.

splhack avatar splhack commented on May 18, 2024

Then, what is the result of the bisect?

from macvim.

chdiza avatar chdiza commented on May 18, 2024

Then, what is the result of the bisect?

I will do the bisect when I am sitting at a place that has an external monitor I can use for testing.

from macvim.

cristibalan avatar cristibalan commented on May 18, 2024

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:

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.

macvim-fullscreen-auto

If I then exit fullscreen and enter it again, the window positions itself under the menubar.

macvim-fullscreen-manual

Hope this helps.

from macvim.

ychin avatar ychin commented on May 18, 2024

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).

from macvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.