Macvim: Error messages when launching MacVim from a terminal window under Big Sur

Created on 16 Nov 2020  路  7Comments  路  Source: macvim-dev/macvim

Whenever I launch MacVim from a terminal window under (recently installed) MacOS Big Sur, I get the following message printed in the terminal:

2020-11-16 12:13:39.585 MacVim[46460:1266156] Warning: Expected min height of view: () 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.

I actually get four instances of the message, one right after the other.

This is "Custom Version 8.2.1719 (166)". The terminal I'm using is iTerm2 Build 3.2.9, running zsh. The launch of MacVim is accomplished by typing an alias that translates to "/Applications/MacVim.app/Contents/bin/mvim".

Duplicate

All 7 comments

Same here, sometimes i get NSPopoverTouchBarItemButton message, sometimes i get this:

2020-11-17 06:06:25.577 MacVim[5841:177765] Warning: Expected min height of view: (<MMTouchBarButton: 0x7fa9714b1a60>) 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.

Confirmed on Big Sur. Custom Version 8.2.1719 (166) from HomeBrew. Happens regardless of the Terminal

I also get the error, upon start-up of MacVim, and when I switch INTO insert mode.

Same here. It happens once at start and again every time I switch to insert mode.

I am also getting the warning.

2020-11-19 10:15:15.068 MacVim[2837:25641] Warning: Expected min height of view: (<MMTouchBarButton: 0x7feaaf7697c0>) 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-19 10:15:17.169 MacVim[2837:25641] Warning: Expected min height of view: (<MMTouchBarButton: 0x7feaaf623b40>) 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-19 10:16:50.920 MacVim[2837:25641] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7feaaf4ad620>) 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.

Here is my mvim --version if it helps

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct  7 2020 18:05:08)
macOS version
Included patches: 1-1719
Compiled by Homebrew
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl               +file_in_path      -mouse_sysmouse    -tag_old_static
+arabic            +find_in_path      +mouse_urxvt       -tag_any_white
+autocmd           +float             +mouse_xterm       +tcl
+autochdir         +folding           +multi_byte        +termguicolors
-autoservername    -footer            +multi_lang        +terminal
+balloon_eval      +fork()            -mzscheme          +terminfo
+balloon_eval_term +fullscreen        +netbeans_intg     +termresponse
+browse            +gettext           +num64             +textobjects
++builtin_terms    -hangul_input      +odbeditor         +textprop
+byte_offset       +iconv             +packages          +timers
+channel           +insert_expand     +path_extra        +title
+cindent           +ipv6              +perl              +toolbar
+clientserver      +job               +persistent_undo   +transparency
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       +lua               +ruby              +wildmenu
+dialog_con_gui    +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       -X11
+dnd               +mouse             -sound             -xfontset
-ebcdic            +mouseshape        +spell             +xim
+emacs_tags        +mouse_dec         +startuptime       -xpm
+eval              -mouse_gpm         +statusline        -xsmp
+ex_extra          -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
-farsi             +mouse_sgr         +tag_binary        
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: clang   -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/readline/lib -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv /usr/local/lib/libintl.a -framework AppKit  -L/usr/local/opt/lua/lib -llua5.3 -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl  -L/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config-3.9-darwin -lpython3.9 -framework CoreFoundation -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -lruby.2.7

Thanks for the report. Let's use #1114 to track this. Closing this for now. The next release should have this fixed.

Was this page helpful?
0 / 5 - 0 ratings