macvim-dev / macvim-dev/macvim
Catalina 10.15.1, MacVim 8.1.2234 full screen before sleep, full screen is broken on wake
まだ誰も着手していません。
- 主要言語
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、macOS 10.15.1 上の MacVim 8.1.2234 で断続的に発生する失敗を再現します。mvim でファイルを起動し、フルスクリーンに入り、コンピューターをスリープさせてから復帰させます。1 つのウィンドウの場合と複数のウィンドウの場合の動作を、「not in fullscreen state」というメッセージも含めて比較します。復帰後も MacVim が応答可能なままで、フルスクリーン状態を保持すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, vim
- 領域
- desktop, operating-systems
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 28/100