Solved issue with context menu not displaying
メンテナーはふだん 9 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
This is a user-reported diagnosis rather than an actionable task: a bad %LOCALAPPDATA%\FileConverter\Settings.user.xml apparently suppresses the Explorer context menu even though COM registration is fine. Start by reproducing with the attached Settings.user.xml, then read the shell extension initialization code (FileConverterExtension) to find how user settings are parsed and what happens on malformed values. Done means identifying the corrupting field and adding validation or a safe fallback.
索引モデルが issue の本文から書いたものです。
説明
I ran into what appears to be the same or a closely related issue to #554 on Windows 10 with File Converter 2.2.0.
The File Converter context menu disappeared completely.
Troubleshooting performed
I initially suspected the shell extension registration, but after troubleshooting:
FileConverterExtensionwas enabled in ShellExView (Disabled = No)- CLSID
{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}was correctly registered in the 64-bit registry HKCR\*\shellex\ContextMenuHandlers\FileConverterExtensioncorrectly referenced that CLSID- The extension was not present in either
Shell Extensions\Blockedlocation EnforceShellExtensionSecuritywas not enabled- The COM class could successfully be instantiated from 64-bit PowerShell
FileConverter.exeversion was2.2.0.0FileConverterExtension.dllversion was1.2.1.0
What fixed it
Renaming:
%LOCALAPPDATA%\FileConverter\Settings.user.xml
to:
Settings.user.xml.BACKUP
and then restarting Windows Explorer immediately restored the File Converter context menu.
So in my case, the shell extension and registry registration were fine. Something in Settings.user.xml was causing the extension not to expose the context menu.
Misleading ShellExView path
One potentially confusing symptom was that ShellExView displayed the extension path as:
C:\WINDOWS\system32\C:/Program Files/File Converter/FileConverterExtension.DLL
However, the actual registry CodeBase value was:
file:///C:/Program Files/File Converter/FileConverterExtension.DLL
which appears to be a valid .NET/RegAsm file URI.
So the malformed-looking ShellExView path turned out to be a red herring.
Possible implication
A repair or reinstall may not solve this issue if the existing:
%LOCALAPPDATA%\FileConverter\Settings.user.xml
is preserved.
Removing or renaming that file caused the context menu to return immediately.
I still have the old Settings.user.xml.BACKUP file and can provide it if that would help reproduce the issue.
- 主要言語
- C#
- スター
- 15.7k
- フォーク
- 947
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Tichau/FileConverter のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
Tichau/FileConverter#829 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Tichau/FileConverter#810 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Tichau/FileConverter#784 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Tichau/FileConverter#756 ·
メンテナーはふだん 9 日以内に返信
-
Option to overwriteオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Tichau/FileConverter#636 · コメント 1 件 · リアクション 3 件 ·
メンテナーはふだん 9 日以内に返信
Tichau/FileConverter の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
dotnet/EntityFramework.Docs#5536 ·
メンテナーはふだん 1 日以内に返信
-
bug module
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
-
needs triage
難易度 1/5 1時間未満 初心者へのやさしさ 71/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
majorsilence/Majorsilence.Forms#718 ·
メンテナーはふだん 1 日以内に返信