Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: Open in → File Explorer on Windows ignores the user's default file manager (always launches explorer.exe)

オープン 初心者向け
#17,323 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
backend, desktop

調査の方向性

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
  1. 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).
  2. Confirm it works system-wide: Start-Process C:\some\folder opens the folder in that file manager.
  3. 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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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