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):
Have the same issue! Always happens when switching between modes it seems.
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…
While this issue is not fixed, is there a way to suppress these warnings from appearing on the terminal?
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.
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.
Thanks @ekzotech ! For people looking for a step-by-step, I fixed this by doing the following:
brew update and brew upgradesudo rm -rf /Library/Developer/CommandLineTools and sudo xcode-select --installbrew uninstall macvimbrew install macvim@callumfrance: didn't work for me.
@balena unlucky bro
Thanks @ekzotech ! For people looking for a step-by-step, I fixed this by doing the following:
- Updating my
brew updateandbrew upgrade- Updating to the newer command line tools (CLT)
sudo rm -rf /Library/Developer/CommandLineToolsandsudo xcode-select --install- Uninstalling my macvim
brew uninstall macvim- Reinstalling macvim
brew install macvim
Worked for me!
Thanks @ekzotech brew reinstall macvim works for me.
ideal icon size: 36px × 36px (18pt × 18pt @2x)
maximum icon size: 44px × 44px (22pt × 22pt @2x)
Other apps has the same problem, according on search results in google
This should be fixed with the latest release since it's built with Xcode 12.
Most helpful comment
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.