[Bug]: Open in → File Explorer on Windows ignores the user's default file manager (always launches explorer.exe)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
apps/server/src/process/externalLauncher.ts の fileManagerCommandForPlatform から始めてください。win32 分岐がリテラルの explorer を返している箇所です。同じファイルの resolveWindowsBrowserLaunch を読んで、シェルベースのパターンがすでにどのように使われているかを確認してください。Windows で Open in → File Explorer からディレクトリを開いたときに、シェル経由で処理され、既定のファイルマネージャーが使われるようになれば完了です。ファイル対象の動作は現状のままにしてください。検証には、既定以外のファイルマネージャーが登録された Windows マシンが必要です。
索引モデルが issue の本文から書いたものです。
説明
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- On Windows, set a third-party file manager as the default folder handler (e.g. File Pilot, which registers
HKCU\Software\Classes\Directory\shell\open\command). - Confirm it works system-wide:
Start-Process C:\some\folderopens the folder in that file manager. - In T3 Code, use Open in → File Explorer on a project.
Expected behavior
The folder opens in the default file manager, the same as any other shell "open" of a folder.
Actual behavior
Windows File Explorer always opens. fileManagerCommandForPlatform in apps/server/src/process/externalLauncher.ts returns the literal explorer for win32, and explorer.exe <dir> bypasses the Directory\shell\open verb. Verified on the same machine:
| Launch | Result |
|---|---|
explorer.exe C:\Work\t3code\apps |
Windows File Explorer |
Start-Process C:\Work\t3code\packages (ShellExecute) |
File Pilot |
Possible fix: open the path through the shell on win32 instead of spawning explorer directly. The launcher already does this for browser targets (resolveWindowsBrowserLaunch). File targets keep their current behaviour, since explorer <file> already hands the file to its default app.
Impact
Minor bug or occasional failure
Version or commit
Desktop nightly 0.0.46 (code path present on main at 9b0df135)
Environment
Windows 11 Pro 10.0.26200, File Pilot 0.6.3
Workaround
None inside T3 Code; open the folder manually in the file manager.
- 主要言語
- TypeScript
- スター
- 24.8k
- フォーク
- 6.4k
- 平均マージ
- 8時間 58分
- マージ済み PR(30日)
- 278
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingdotgg/t3code のほかの issue
-
[Bug]: Server git tests sign fixture commits with the developer's key when run from the repo rootオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pingdotgg/t3code#17402 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
pingdotgg/t3code#17157 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
melgarafael/DeskcommCRM#2657 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
MystenLabs/MemWal#1163 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
"Explore the letters"-button should read "Explore the papers"対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンMondriaan
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
knaw-huc/textannoviz#709 ·
メンテナーはふだん 1 日以内に返信
-
billion-context-pi
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ranxianglei/billion-context#2521 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Add: YRF Music Nepalオープンstreams:add
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信