Files opened through `:e` don't appear in macOS recents views
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- macos, vim
調査の方向性
まず、GUIから実行した場合に、MacVimが :e コマンドで開かれたファイルをどのように処理するかを追跡し、次にFinder、⌘O、または vim -g $file で開かれたファイルの場合とその経路を比較します。クリーンな設定で再現し、変更後にファイルが Apple menu Recent Items、Dock menu、App Expose に表示されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Steps to reproduce
- Make a new text file somewhere:
touch ~/Desktop/test.txt - Open a new empty macvim window
- Open that file from the Vim command line:
:e ~/Desktop/test.txt - Right click the macvim dock icon and note that the file is not in the list of recent files
Expected behaviour
macOS shows recently opened files in a number of places, e.g. in Apple menu > Recent Items, in the right-click menu on the dock icon, and at the bottom of the App Expose / "Show all windows" view.
Files opened in macvim through other means (I've tested opening from Finder, opening from ⌘O in macvim, and opening with vim -g $file on the command line) adds the files to this recents list. I would expect files opened the vimmy way with :e to also be included. It adds an extra cognitive step to know I had a file open in macvim recently, but to have to remember how I opened it to know the fastest way of getting back to it. (Not sure if this qualifies as a bug per se or just a non-feature, but either way I'd love it taken care of)
Version of Vim and architecture
Vim 9.0, compiled Sep 15 2022, macOS version arm64,
Environment
OS: macOS Monterey 12.6
terminal: iTerm
$TERM: xterm-256color
shell: zsh 5.8.1
How MacVim was installed
Homebrew
Logs and stack traces
No response
Vim configuration where issue is reproducable
Reproducible on clean config
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
- 主要言語
- Vim Script
- スター
- 7.9k
- フォーク
- 691
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
macvim-dev/macvim のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
macvim-dev/macvim#1697 · コメント 5 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
macvim-dev/macvim#1658 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
macvim-dev/macvim#1657 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
macvim-dev/macvim#1655 ·
-
難易度 2/5 半日 初心者へのやさしさ 72/100
macvim-dev/macvim#1653 ·
macvim-dev/macvim の issue をすべて見る
似ている issue
-
[Super Editor][Chat] - Floating editor scaffold does not reset panel height after closing panel オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug channel: beta feature: preferences feature: ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug editor script-component smart items
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
decentraland/creator-hub#1654 ·
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100