macvim-dev / macvim-dev/macvim
New window created from fullscreen doesn't get focus
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce
- Run MacVim fullscreen
- Hit cmd-N to create a new window (this is created as a fullscreen 'space')
- Type something
- Notice that what was typed ended up on the first fullscreen window (now not visible), not the new one that should have focus
Expected behaviour
The newly created window (fullscreen) should get focus.
Version of Vim and architecture
8.2, x86_64, patches: 1-3455
Environment
macOS 12.3.1
How MacVim was installed
Homebrew (I think...)
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(orgvim, 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with MacVim.app on macOS 12.3.1 by entering fullscreen mode and using cmd-N, then inspect the fullscreen window-creation and focus path. It is done when typing after creating a new fullscreen window goes to that new window rather than the first hidden fullscreen window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100