Files opened through `:e` don't appear in macOS recents views
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- macos, vim
- Bereich
- desktop, operating-systems
Rechercherichtung
Beginne damit nachzuverfolgen, wie MacVim Dateien verarbeitet, die über den Befehl :e geöffnet werden, wenn es aus der GUI ausgeführt wird, und vergleiche diesen Pfad anschließend mit Dateien, die über Finder, ⌘O oder vim -g $file geöffnet werden. Verwende die Reproduktion mit einer sauberen Konfiguration und überprüfe nach der Änderung, dass die Datei in Apple menu Recent Items, im Dock-Menü und in App Expose erscheint.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Vim Script
- Sterne
- 7.9k
- Forks
- 691
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus macvim-dev/macvim
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
macvim-dev/macvim#1697 · 5 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
macvim-dev/macvim#1658 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
macvim-dev/macvim#1657 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
macvim-dev/macvim#1655 ·
-
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 72/100
macvim-dev/macvim#1653 ·
Alle Issues in macvim-dev/macvim
Ähnliche Issues
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` Offenclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
CachyOS/cachyos-aur-derived#754 ·
-
bug draftomen size: S
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
andreagrandi/draftomen#681 ·
-
Startup alerts tell the user to click Save and Apply, but the settings button is labelled Save Offenbug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
alexgorbatchev/simple-ptt#11 ·