Skip to content

The "open" command (when called from MacVim) is slower since MacOS Mojave #763

Closed

Description

@tobireif

The "open" command (when called from MacVim) is slower since MacOS Mojave.

I have eg these lines in my .vimrc:

" Open File:
:map gf :!gvim <cfile><CR>

" Go to URL ("Go to Link"):
:map gl :!open -a "Google Chrome" "<cWORD>"<CR>

Activity

  1. ychin commented on Nov 1, 2018

    @ychin
    Member

    @tobireif I can confirm this is happening. I don't have High Sierra installed to test unfortunately, but was it instantaneous before Mojave?

  2. tobireif commented on Nov 1, 2018

    @tobireif
    Author

    Thanks for investigating!

    Yes, it used to be very usable in a fast workflow. Now it's slow which is an issue, eg when I try to open several links in a row ...

  3. ychin commented on Nov 2, 2018

    @ychin
    Member

    I tried building MacVim with the latest changes under Xcode 10 and the issue seems to be gone somewhat. I don't know where the issue lied or whether some change actually fixed it or not, but after next time we do a release I'll ping here again to see if you see that issue.

  4. tobireif commented on Nov 2, 2018

    @tobireif
    Author

    Thanks!

  5. alswl commented on Nov 9, 2018

    @alswl

    This bug was fixed for me on mojave 10.14.1 (18B75) .

    updated: oops, it did not.

  6. tobireif commented on Nov 10, 2018

    @tobireif
    Author

    (Yep, the issue persists here as well, on the same OS version.)

  7. tobireif commented on Nov 16, 2018

    @tobireif
    Author

    Perhaps someone could report it to Apple at https://bugreport.apple.com/web/ .

  8. ychin commented on Dec 3, 2018

    @ychin
    Member

    Are you using homebrew or the distributed release binaries @tobireif ?

  9. tobireif commented on Dec 3, 2018

    @tobireif
    Author

    I had installed MacVim (quite a while ago) from https://github.com/macvim-dev/macvim/releases , and since then it updates itself.

  10. ychin commented on Dec 5, 2018

    @ychin
    Member

    Ok. I think the issue is somehow because MacVim is currently not signed by an Apple Developer ID, which… for some reason means calling open is slow. I will investigate #517 to see if I can get an developer ID to sign it, plus see if Apple could fix the issue (there are users who use MacVim by building locally hence shouldn't be forced to self-sign their apps).

  11. tobireif commented on Dec 5, 2018

    @tobireif
    Author

    Sounds good!

  12. tobireif commented on Dec 14, 2018

    @tobireif
    Author

    I hope it will be possible to fix this 😀

  13. chdiza commented on Dec 14, 2018

    @chdiza
    Contributor

    I don't see this delay on Mojave, but then again I have SIP disabled and Gatekeeper set to allow everything.

  14. adudek16 commented on Dec 18, 2018

    @adudek16

    I can confirm that opening windows via the app is definitely broken under 10.14.2. If I run mvim from the cli a new window opens up quickly. I have 2 macs I can test with one with 10.14.2 and one with 10.13.6. I install from Binaries mostly.

  15. added this to the snapshot-154 milestone on Dec 19, 2018
  16. ychin commented on Dec 19, 2018

    @ychin
    Member

    The next binary release will be signed by an Apple Developer ID which will (for some reason) fix this. Use the tagged milestone in this issue to track progress and ETA.

  17. adudek16 commented on Dec 19, 2018

    @adudek16

    Great. I did some testing and installed 151 to the desktop. Launching from there is as expected, but when installed into applications, then it is slow. I repeated same test with 153 and the behavior is the same. From the Desktop - speedy, from Applications - slow if at all.

  18. ychin commented on Dec 19, 2018

    @ychin
    Member

    Hmm, FWIW that's not the case for me. Compiled for 10.13 or signed application: Fast either way (desktop or Applications). Unsigned app built for 10.14: Slow either way. I don't think the behavior manifests depending on where you are running the app bundle form so I'm surprised you saw that.

  19. tobireif commented on Dec 19, 2018

    @tobireif
    Author

    The next binary release will be signed by an Apple Developer ID which will (for some reason) fix this.

    Thank you!

  20. tobireif commented on Jan 8, 2019

    @tobireif
    Author

    I currently have the latest MacVim version "Custom Version 8.1.577 (153)". Which version should fix the issue? Thanks in advance :)

  21. ychin commented on Jan 8, 2019

    @ychin
    Member

    You need 154 which is not released yet. Use the tagged milestone to track the date it will be released (which is within this month).

  22. tobireif commented on Jan 9, 2019

    @tobireif
    Author

    Thanks!

  23. added a commit that references this issue on Feb 4, 2019
  24. ychin commented on Feb 4, 2019

    @ychin
    Member

    Latest release (https://github.com/macvim-dev/macvim/releases/tag/snapshot-154) now signs the app. The open delay should be gone.

  25. tobireif commented on Feb 4, 2019

    @tobireif
    Author

    Thanks! I think the severe delay is gone. (Right at the start after opening a link there still is a certain amount of lag, but I don't know whether that's fixable.)

  26. ychin commented on Feb 4, 2019

    @ychin
    Member

    Hmm I don't see any delays anymore on my end. Let me know if it's really long. It should behave similar to older non-Mojave versions.

  27. tobireif commented on Feb 5, 2019

    @tobireif
    Author

    The issue where it takes really long (since Mojave) definitely is fixed. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions