Skip to content

Error messages when launching MacVim from a terminal window under Big Sur #1119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
greglutz opened this issue Nov 16, 2020 · 9 comments
Closed

Comments

@greglutz
Copy link

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: (<NSPopoverTouchBarItemButton: 0x7f83b527cbb0>) 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".

@anchietajunior
Copy link

anchietajunior commented Nov 17, 2020

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.

@eur0pa
Copy link

eur0pa commented Nov 18, 2020

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

@igreulich
Copy link

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

@balena
Copy link

balena commented Nov 19, 2020

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

@callumfrance
Copy link

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/openssl@1.1/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/openssl@1.1/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/python@3.9/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

@danieletorelli
Copy link

Duplicates #1114

@ychin
Copy link
Member

ychin commented Nov 30, 2020

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

@ychin ychin closed this as completed Nov 30, 2020
@kaskej
Copy link

kaskej commented Aug 16, 2021

Python[84671:2225635] Warning: Expected min height of view: (<NSButton: 0x7f7ff7c90b70>) 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 have still had the same problem as you mentioned above on PyCharm.

@eakwayen
Copy link

Has this issue been solved? experiencing the same with macOS Monterey version 12.3.1

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

No branches or pull requests

10 participants