Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

与File Locksmith存在兼容性问题 #446

Open
BLACKCHARGE opened this issue May 9, 2023 · 14 comments
Open

与File Locksmith存在兼容性问题 #446

BLACKCHARGE opened this issue May 9, 2023 · 14 comments
Labels
Early discussion Ongoing communication Invalid This doesn't seem right

Comments

@BLACKCHARGE
Copy link

BLACKCHARGE commented May 9, 2023

系统windows 10 22H2(19045.2846)
启用powertoys工具中的File Locksmith后,使用RX-Explorer(UWP)选中一个文件右键使用其它应用打开,都会启动File Locksmith而不是启动选择的应用,可以稳定复现,关闭File Locksmith后无此问题。
另外RX-Explorer(WAS)在我的电脑是启动后展开右键菜单会直接闪退,不知道和这个有没有关系

@zhuxb711
Copy link
Owner

zhuxb711 commented May 9, 2023

你能否提供一个视频或者Gif阐述你遇到的问题?就这样描述的话我不太清楚。注:UWP版本已经弃用

@BLACKCHARGE
Copy link
Author

output.mp4

另附RX-Explorer(WAS)的展开右键菜单闪退日志
Export_All_Error_Log.txt

@zhuxb711
Copy link
Owner

zhuxb711 commented May 9, 2023

古德,视频比较明确,但是为什么会发生这种事情我不太清楚,RX激活菜单的时候使用菜单的id直接调用激活的,不应该会激活到其他菜单,尤其是这一路上的操作都是Win32 API...

UWP版已弃用,很可能不会/不能修复

@BLACKCHARGE
Copy link
Author

我使用另外一台win11设备确定了RX-Explorer(WAS)也具有同样的问题

@zhuxb711
Copy link
Owner

zhuxb711 commented May 9, 2023

PowerToy肯定对Windows Shell部分进行了修改,个人感觉,这不属于RX的问题

@BLACKCHARGE
Copy link
Author

有一个小细节,使用"打开方式"启动应用是正常的,但是直接调用右键菜单的应用就会这样,可能File Locksmith对右键菜单的集成比较特殊?我简单看了一下注册表,好像找不到相应的条目
另外不知道关于RX-Explorer(WAS)在win10上右键会崩溃有没有头绪,我回头再装个新的win10试一下。
最后建议RX-Explorer(WAS)重新支持关于缩略图的设置,现在的RX-Explorer(WAS)会默认展示文件夹的缩略图,导致目录下文件夹图标加载的很缓慢,是一点点加载出来的,也不支持缓存缩略图,每次都要重新加载,这个文件夹缩略图意义也不是特别大,没啥太多有用信息,还是恢复以前的仅加载文件缩略图比较好,现在找不到相关的设置

@zhuxb711
Copy link
Owner

zhuxb711 commented May 9, 2023

打开方式里面用的是exe路径,那是用Kernel32.CreateProcess执行的,和Shell32那一套不一样。每一个菜单项本质上是注册到系统的COM服务器,背后是实现特定接口的dll(分散在各个程序的安装位置),通过IContextMenu接口去统一查询枚举调用,因此菜单项是看各家实现接口的水平的,有些人乱写,RX一读就会搞出AccessViolationException内存访问违例,在.Net Core中这种异常无法捕捉和处理,自然就会直接崩溃

@zhuxb711
Copy link
Owner

zhuxb711 commented May 9, 2023

WAS 1.2.9中多少做了点点预防措施(搬自UWP),就是不知道有没有用罢了

@BLACKCHARGE
Copy link
Author

可以的,很有用,现在不会闪退了👍

@zhuxb711
Copy link
Owner

zhuxb711 commented May 10, 2023

@BLACKCHARGE 怀疑你这个是PowerToys的问题,我创建了一个 PowerToys issue #25930,我的结论是只要通过Verb激活的所有菜单项都会被File Smith处理

@BLACKCHARGE
Copy link
Author

看来是这样,感谢帮助❤

@zhuxb711 zhuxb711 added Invalid This doesn't seem right Early discussion Ongoing communication labels May 26, 2023
@a15355447898a
Copy link

我有相同的问题了,和他描述的一模一样,我在使用的是最新的was版本(1.3.2.0)

Clipchamp.mp4

Export_All_Error_Log.txt

@zhuxb711
Copy link
Owner

File Locksmith的问题。你装了它就会有,很正常

@amasun
Copy link

amasun commented Mar 4, 2024

windows10 右键菜单中没有locksmith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Early discussion Ongoing communication Invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants