Skip to content

opening > 10 files simultaneously results in only 10 files (tabs) opening #1167

@bkmdev

Description

@bkmdev
  • Issue: Opening > 10 files simultaneously via R-click "open" (or via File > Open...) results in only 10 files (tabs) opening and only being able to select 10 tabs at a time

  • Environment:

    • Vim version: 8.0.1376
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec  7 2017 11:42:48)
macOS version
Included patches: 1-1376
Compiled by Homebrew
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl               +clipboard         +digraphs          -footer            +libcall           -mouse_gpm         +odbeditor         +rightleft         +tcl               +virtualedit       -xpm
+arabic            +cmdline_compl     +dnd               +fork()            +linebreak         -mouse_jsbterm     +packages          +ruby              +termguicolors     +visual            -xsmp
+autocmd           +cmdline_hist      -ebcdic            +fullscreen        +lispindent        +mouse_netterm     +path_extra        +scrollbind        +terminal          +visualextra       -xterm_clipboard
-autoservername    +cmdline_info      +emacs_tags        -gettext           +listcmds          +mouse_sgr         +perl              +signs             +terminfo          +viminfo           -xterm_save
+balloon_eval      +comments          +eval              -hangul_input      +localmap          -mouse_sysmouse    +persistent_undo   +smartindent       +termresponse      +vreplace
+balloon_eval_term +conceal           +ex_extra          +iconv             -lua               +mouse_urxvt       +postscript        +startuptime       +textobjects       +wildignore
+browse            +cryptv            +extra_search      +insert_expand     +menu              +mouse_xterm       +printer           +statusline        +timers            +wildmenu
++builtin_terms    +cscope            +farsi             +job               +mksession         +multi_byte        +profile           -sun_workshop      +title             +windows
+byte_offset       +cursorbind        +file_in_path      +jumplist          +modify_fname      +multi_lang        +python            +syntax            +toolbar           +writebackup
+channel           +cursorshape       +find_in_path      +keymap            +mouse             -mzscheme          -python3           +tag_binary        +transparency      -X11
+cindent           +dialog_con_gui    +float             +lambda            +mouseshape        +netbeans_intg     +quickfix          +tag_old_static    +user_commands     -xfontset
+clientserver      +diff              +folding           +langmap           +mouse_dec         +num64             +reltime           -tag_any_white     +vertsplit         +xim
   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  -F/usr/local/opt/python/Frameworks -I/usr/local/Cellar/python/2.7.14/Frameworks/Python.framewo
rk/Versions/2.7/include/python2.7 -I/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototype
s -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L.             -L /BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/libressl/lib -L/BuildRoot/Applications/Xcode.app/Contents/D
eveloper/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/lib -L.             -L /BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.s
dk/usr/local/libressl/lib -L/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/lib -F/usr/local/opt/python/Frameworks -L/usr/local/opt/python/Fram
eworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -framework CoreFoundation -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework AppKit   -fstack-protector  -
L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -F/usr/local/opt/python/Frameworks -framework Python  -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby
  • OS: OS X 10.13.1
  • Terminal: GUI

Repro Steps:

  1. Ensure MacVim prefs are: Open Files from applications: (•) in a new window, (v) with a tab for each file
  2. Open n > 10 files via R-click "open" (or via File > Open)

Expected behavior:

  • Ideally: All n files open as tabs in a given OS WindowManager (NS) window owned by MacVim (and are easily accessible, perhaps via a scrollable/compressible list of tabs or Expose- see OS X's Terminal.app)
  • Easier but not as-ideal: First 10 files open as tabs in a given OS WindowManager (NS) window owned by MacVim and remaining files are accessible by clicking the >> that normally appear at the top right of the tab list when incrementally exceeding the 10 tab limit via File > Tab Open...

Actual behavior:

  • MacVim seems to process the files but only (the first?) 10 files (tabs) open and one needs to access the other n-10 files via the Buffers menu (which oddly lists all initially selected files, including those that weren't opened)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions