macvim-dev / macvim-dev/macvim
Catalina 10.15.1, MacVim 8.1.2234 full screen before sleep, full screen is broken on wake
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
Describe the bug
After waking the computer up, MacVim which used to be full screen is no longer full screen. The "full screen window" where MacVim is supposed to live is still there, but the MacVim window itself is not full screen, and exists on a Desktop "window". I'm not sure of the correct term here, but by "window" I mean the full screen switcher which appears at the top of the screen when in what used to be called expose mode.
The MacVim window is mostly unresponsive -- keypresses do not have any visible affect, and clicking the window doesn't either. When using the macOS application switcher, the "full screen window" is activated when attempting to switch to MacVim, but the screen is black.
If only one MacVim window is open, sometimes the green full-screen button works and will put the window back. Sometimes not. I believe that when multiple windows are open, the green full screen button never works.
Often the only way to get back to a working application is to force quit macvim.
If the terminal with which I launched MacVim is still open, a message like this is printed:
2019-12-23 05:57:59.389 MacVim[10882:9934680] not in fullscreen state
To Reproduce
This is a bit of a head scratcher for me, but I believe I'm able to reproduce it intermittently in this way. I see this bug several times a week, but it is not consistent.
- Open a file in MacVim - I usually do this with
mvimin the terminal. - Full Screen MacVim
- Put computer to sleep for a while -- short sleeps don't seem to trigger it.
- Wake computer
Expected behavior
The application should not lose it's full screen status.
Screenshots
I will attempt to take a concise screen recording next time I see the problem.
Environment:
- Vim version 8.1.2234
- OS: macOS 10.15.1 (19B88)
- stock macOS terminal.
I cannot see how it would matter, but my vim config is on github as is my list of plugins
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 macOS 10.15.1 上使用 MacVim 8.1.2234 重现间歇性故障:使用 mvim 打开一个文件,进入全屏模式,让电脑睡眠,然后唤醒电脑。比较只有一个窗口和有多个窗口时的行为,包括“not in fullscreen state”消息。完成的标准是 MacVim 在唤醒后仍能响应,并保留全屏状态。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- desktop, operating-systems
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 28/100