Skip to content

gvim (windows) freezes when opening a file already openend in another Vim (with "simalt ~x" in GUIEnter)  #2192

@daRAMA

Description

@daRAMA

This was introduced somewhere between 8.0.69 and 8.0.586 and can still be reproduced in the latest nighlty. Last tested with 1159.

To reproduce:

  • use a blank _vimrc with just "au GUIEnter * simalt ~x"
  • gvim test.txt
  • :w
  • leave the instance open and start another vim: gvim test.txt
    -> The second instance is opened and freezes (uses CPU and does not respond to keyboard or mouse input)

Use case for using two instances of vim on the same file: Do some coding in a source file in the first instance and view the local changes in a source control system (which launches a gvim -d file_in_working_copy pristine_copy_of_file)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions