macvim-dev / macvim-dev/macvim

saving causes tab gui mouse label to flash

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

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

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

説明

Describe the bug
Triggering a write with unsaved buffers causes a label to flash when the mouse cursor is hovering over tabs.

If you have various kinds of autosave features enabled, as I do, this results in the mouse label flashing constantly during editing.

To Reproduce

  1. /Applications/MacVim.app/Contents/bin/mvim --clean
  2. :e 0.txt
  3. :tabnew 1.txt
  4. move mouse over the tab for 1.txt and ensure it is selected by clicking it
  5. without moving the mouse, cause changes to 1.txt by entering insert mode o, typing asdfg, escaping <esc>, and saving :w<cr>
  6. The gui label 1.txt flashes on the tab as the save completes. This is the informative label that describes the tab name on mouse hover.

Expected behavior
I would hope that the label would stay invisible.

Environment (please complete the following information):

  • MacVim 8.2.3455, latest as of date
  • OS: MacOS Big Sur 11.6

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

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

はじめの一歩

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

調査の方向性

macOS 上で、記載されている :e、:tabnew、編集、:w のシーケンスを使い、/Applications/MacVim.app/Contents/bin/mvim --clean でフラッシュを再現してください。まず、保存中の MacVim のタブのマウスホバーラベル処理を追跡し、カーソルが選択されたタブ上に留まっているときにラベルが表示されないままであることを確認してください。

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

評価

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

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

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