macvim-dev / macvim-dev/macvim

After waking up computer from Sleep, Macvim will try to close

オープン
#1,459 コメント 13 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

Steps to reproduce

Open a file with MacVim
Lock computer and wait 5-10min
Unlock computer
Macvim will be either closed or a popup will appear to confirm if you want to close MacVim with unsaved buffers.

Expected behaviour

I expect MacVim to no close itself.

This only happen with MacVim hence I think it is an issue with MacVim...
I've tried to look at debug logs but I don't see anything useful.

Maybe you guys have an idea how to trace back the event that was sent to MacVim ?

Version of Vim and architecture

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 12 2023 09:31:27) macOS version - x86_64 Included patches: 1-1897 Compiled by GitHub Actions

MacVim r178 (Vim 9.0.1897)

Environment

MacOs Sonoma 14.1.1 (23B81)
Iterm

How MacVim was installed

Downloaded last release via Github

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 (or gvim, 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

macOS GUI から MacVim.app の問題を再現します。まず mvim --clean を使い、コンピュータをロックしてスリープ解除した後に実行してください。利用可能なデバッグログを調査し、MacVim が終了する、または未保存バッファーを閉じるよう促すダイアログを表示する原因となるイベントを追跡します。スリープ解除後も MacVim が閉じるよう促さずに開いたままになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vim
領域
desktop, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。