Skip to content

No rendering in New tab in MacVim built from source 57b0bab10 #1439

Closed

Description

@al3xandru

Steps to reproduce

  1. Open a file in a new buffer: tabe [file]
  2. Get an empty window
image 3. Switching between tabs makes them all "empty"

Expected behaviour

Normal vim behavior

Version of Vim and architecture

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 11 2023 13:00:16) macOS version - arm64 Included patches: 1-1994 Compiled by 5098093a6@202310111259

Environment

macOS 14.0
MacBook Pro M1

Huge version with MacVim GUI. Features included (+) or not (-):
+acl +cscope -gettext +mouseshape +postscript -tag_old_static +visualextra
+arabic +cursorbind -hangul_input +mouse_dec +printer -tag_any_white +vreplace
+autocmd +cursorshape +iconv -mouse_gpm +profile -tcl +wildignore
+autochdir +dialog_con_gui +insert_expand -mouse_jsbterm +python/dyn +termguicolors +wildmenu
-autoservername +diff +ipv6 +mouse_netterm +python3/dyn +terminal +windows
+balloon_eval +digraphs +job +mouse_sgr +quickfix +terminfo +writebackup
+balloon_eval_term +dnd +jumplist -mouse_sysmouse +reltime +termresponse -X11
+browse -ebcdic +keymap +mouse_urxvt +rightleft +textobjects -xattr
++builtin_terms +emacs_tags +lambda +mouse_xterm +ruby/dyn +textprop -xfontset
+byte_offset +eval +langmap +multi_byte +scrollbind +timers +xim
+channel +ex_extra +libcall +multi_lang +signs +title -xpm
+cindent +extra_search +linebreak -mzscheme +smartindent +toolbar -xsmp
+clientserver -farsi +lispindent +netbeans_intg +sodium +transparency -xterm_clipboard
+clipboard +file_in_path +listcmds +num64 +sound +user_commands -xterm_save
+cmdline_compl +find_in_path +localmap +odbeditor +spell +vartabs
+cmdline_hist +float +lua/dyn +packages +startuptime +vertsplit
+cmdline_info +folding +menu +path_extra +statusline +vim9script
+comments -footer +mksession +perl/dyn -sun_workshop +viminfo
+conceal +fork() +modify_fname +persistent_undo +syntax +virtualedit
+cryptv +fullscreen +mouse +popupwin +tag_binary +visual
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: "/opt/homebrew/MacVim.app/Contents/Resources/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X -DMACOS_X_DARWIN -g -O2 -I/opt/
homebrew/Cellar/libsodium/1.0.18_1/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -o Vim -lm -lncurses -L/opt/homebrew/Cellar/libsodium/1.0.18_1/lib -lsodium -liconv -framework AppKit

How MacVim was installed

built from source

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration

  • by running MacVim.app from GUI macOS interface
  • by running vim/gvim/etc installed by MacVim
  • by running other versions of vim (e.g. /usr/bin/vim)

Issue has been tested with no configuration

  • by running mvim --clean (or gvim, supplied by MacVim distribution)
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Other conditions

  • The both Homebrew packages "vim" and "macvim" are installed

Activity

  1. added this to the Release 179 milestone on Oct 11, 2023
  2. ychin commented on Oct 11, 2023

    @ychin
    Member

    Thanks for reporting. From playing with it I think this has to do with Xcode 15 / macOS 14 SDK. I just updated my software and I knew it was too bugfree / seamless to be true :/. I'll take a look.

    If you want to build from source, you could use the older macOS 13 SDK from Xcode 14.3.1.

  3. al3xandru commented on Oct 11, 2023

    @al3xandru
    Author

    I’m not really an Xcode user and don’t know how to make these changes. I have a Makefile that configures the build and runs it from the terminal.

    As a side note I did notice though, that I can’t build anymore on a macOS 13.5.2. Maybe I need to upgrade Xcode but I have no clue yet.

  4. ychin commented on Oct 11, 2023

    @ychin
    Member

    Ok I just found the issue. It's a clipping change introduced in macOS 14, and should be easy to fix. Should be fixed soon.

    As a side note I did notice though, that I can’t build anymore on a macOS 13.5.2. Maybe I need to upgrade Xcode but I have no clue yet.

    What do you mean? Can you be more specific? MacVim definitely does build in macOS 13.

  5. al3xandru commented on Oct 11, 2023

    @al3xandru
    Author

    Would it be better to create a different issue for that?

  6. ychin commented on Oct 11, 2023

    @ychin
    Member

    Sure feel free to make an issue

  7. added 3 commits that reference this issue on Oct 12, 2023
    d0d93cd
    ba5bae3
    30afcb7
  8. al3xandru commented on Oct 12, 2023

    @al3xandru
    Author

    I can confirm latest build doesn't show this issue anymore. 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