Skip to content

Big Sur TouchBar warnings #1114

Closed
Closed

Description

@dim13

Describe the bug

Warnings logged to console:

2020-11-14 12:04:30.383 MacVim[38128:287979] Warning: Expected min height of view: (<MMTouchBarButton: 0x7fb601061200>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-11-14 12:04:31.160 MacVim[38128:287979] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fb5fee3bf50>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-11-14 12:04:42.433 MacVim[38128:287979] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fb5feed2410>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-11-14 12:04:43.095 MacVim[38128:287979] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fb6010b59c0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-11-14 12:10:40.174 MacVim[38128:287979] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fb5feedb5e0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.

Environment (please complete the following information):

  • VIM: 8.2.1719 (166)
  • OS: Big Sur 11.0.1

Activity

  1. iywey commented on Nov 16, 2020

    @iywey

    Have the same issue! Always happens when switching between modes it seems.

  2. ychin commented on Nov 23, 2020

    @ychin
    Member

    Yeah I'm not sure why this is happening. Need to take a look. I'm guessing Apple made the buttons larger so they went over the limit…

  3. tioguerra commented on Nov 27, 2020

    @tioguerra

    While this issue is not fixed, is there a way to suppress these warnings from appearing on the terminal?

  4. ychin commented on Nov 30, 2020

    @ychin
    Member

    Sorry, I'm not sure if there is a way to suppress the warnings.

    I just tested this, and it seems that for local testing, when I build MacVim using Xcode 12 (current released binary is built using Xcode 11), the issue seems to go away, so I think it's just a matter of building MacVim with the latest SDK.

    I plan to make a release soon, so hopefully you don't have to suffer this too long.

  5. added this to the snapshot-167 milestone on Nov 30, 2020
  6. ekzotech commented on Dec 1, 2020

    @ekzotech

    Found this issue 2 days ago, got same message after upgrading to BigSur.
    After last comment I tried to remove MacVim and reinstall it with Homebrew. Now all warnings are gone, everything is ok. Using Xcode 12 in my system.
    So thank you very much, @ychin for your idea about building with Xcode 12.

  7. callumfrance commented on Dec 1, 2020

    @callumfrance

    Thanks @ekzotech ! For people looking for a step-by-step, I fixed this by doing the following:

    • Updating my brew update and brew upgrade
    • Updating to the newer command line tools (CLT) sudo rm -rf /Library/Developer/CommandLineTools and sudo xcode-select --install
    • Uninstalling my macvim brew uninstall macvim
    • Reinstalling macvim brew install macvim
  8. balena commented on Dec 2, 2020

    @balena

    @callumfrance: didn't work for me.

  9. callumfrance commented on Dec 3, 2020

    @callumfrance

    @balena unlucky bro

  10. jcampbell1710 commented on Dec 3, 2020

    @jcampbell1710

    Thanks @ekzotech ! For people looking for a step-by-step, I fixed this by doing the following:

    • Updating my brew update and brew upgrade
    • Updating to the newer command line tools (CLT) sudo rm -rf /Library/Developer/CommandLineTools and sudo xcode-select --install
    • Uninstalling my macvim brew uninstall macvim
    • Reinstalling macvim brew install macvim

    Worked for me!

  11. xbot commented on Dec 5, 2020

    @xbot

    Thanks @ekzotech brew reinstall macvim works for me.

  12. eirnym commented on Dec 7, 2020

    @eirnym
    Contributor

    https://developer.apple.com/design/human-interface-guidelines/macos/touch-bar/touch-bar-icons-and-images/

    ideal icon size: 36px × 36px (18pt × 18pt @2x)
    maximum icon size: 44px × 44px (22pt × 22pt @2x)

  13. eirnym commented on Dec 7, 2020

    @eirnym
    Contributor

    Other apps has the same problem, according on search results in google

  14. added 2 commits that reference this issue on Dec 11, 2020
  15. ychin commented on Dec 12, 2020

    @ychin
    Member

    This should be fixed with the latest release since it's built with Xcode 12.

  16. ucb-pb commented on Feb 17, 2021

    @ucb-pb

    @callumfrance: didn't work for me.

    Try reinstalling the CLT first because brew was giving me an error about it. Also, adding --verbose to brew update or brew update can be helpful. I thought it was just hanging at first.

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