Preview fails on all UNC paths: ArgumentException "Illegal characters in path" (mapped drive works)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start at ResolveShortcut, identified in the stack trace, and follow its call from QuickLook.ViewWindowManager.TogglePreview. Reproduce with an image on a UNC path such as \server\share\folder, then verify that previewing it no longer shows the fallback card or ArgumentException and behaves like a mapped-drive preview.
索引モデルが issue の本文から書いたものです。
説明
Environment: QuickLook 4.5.0 (GitHub release), Windows 10.0.19041.2
Steps to reproduce:
- Open any folder on an SMB network share in File Explorer, e.g. \server\share\folder
- Select an image file (e.g. .png) and press Spacebar
- QuickLook shows the fallback info card (path/size/date) instead of the image preview
- Pressing Spacebar again may show an error dialog: System.ArgumentException: Illegal characters in path
Stack trace (from the error dialog, ResolveShortcut → Path.CheckInvalidPathChars):
System.ArgumentException: 路径中具有非法字符。
在 System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
在 System.IO.Path.GetExtension(String path)
在 QuickLook.Plugin.QuickLook.Plugin.ResolveShortcut(String path)
在 QuickLook.ViewWindowManager.TogglePreview(String path, Boolean isFromPipe)
Findings:
- Fails with all UNC forms: \server.domain\share, \shortname\share, and \10.x.x.x\share
- The exact same files preview correctly when the share is accessed via a mapped drive letter (Z:...)
- Local files preview correctly
- Possibly related to #617 (UriFormatException on \wsl$... — also UNC-path parsing, different exception)
Expected: files on UNC paths should preview like local ones; at minimum, ArgumentException should be caught in ResolveShortcut.
- 主要言語
- C#
- スター
- 25.3k
- フォーク
- 1.3k
- 平均マージ
- 6日 23時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QL-Win/QuickLook のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
メンテナーはふだん 1 日以内に返信
-
[Bug] If the first character entered into the search box is a space, the preview window will close.オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
[Bug] MSI installer does not display the correct application icon in Windows Programs and Featuresオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
VideoViewer: rotated (portrait phone) videos shown sideways when system decimal separator is a commaオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
メンテナーはふだん 1 日以内に返信
QL-Win/QuickLook の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Devolutions/UniGetUI#5541 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows Needs: Triage :mag:
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
[誤判定]オープンlinux アプリ: ブラウザー 再現済み 要トリアージ 誤判定
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
yksr-melt/Meltype#853 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
S: Untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Trauma-Station/Trauma-Station#5073 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信