[错误] 小狼毫 0.15.0 至 0.17.4 全版本在 Windows 11 24H2 下触发 Explorer 资源管理器右键死锁/假死
Environment: OS: Windows 11 Pro 24H2 (internal version 26100.8106), Windows 11 Pro 25H2 (initially thought to be a bug in 25, reinstalled to 24h2) Hardware: AMD Ryzen 9 9950X3D/X870E platform Affected versions: 0.15.0, 0.16.x, 0.17.0, 0.17.4 (the latest version) can be stably reproduced. Normal version: 0.14.3 (the only version that runs perfectly in this environment.) Description: When installing and activating Weasel 0.15.0 or any later version (up to the latest 0.17.4) in the Windows 11 24H2 environment, the File Explorer (Explorer.exe) frequently triggers a deadlock (AppHangB1) when the right-click menu is called. Steps to Reproduce: Install Weasel 0.15.0 or later (tested with 0.17.4). Open the File Explorer, try to right-click on any folder. Result: The File Explorer instantly loses response (hangs), the right-click menu cannot be displayed, and the Explorer process must be restarted manually. Comparison verification: Uninstall and reinstall 0.14.3, and the right-click menu resumes opening instantly, with no hang. Key findings: This is a regression error introduced since 0.15.0. It is suspected that there is a bottom-level conflict between the new Weasel TSF engine and the XAML asynchronous right-click menu framework introduced in Windows 11 24H2. On high-performance hardware (such as 9950X3D), it is more likely to trigger a deadlock/competition condition due to the extremely fast instruction cycle. Even if you try to enable ascii_mode for explorer.exe in the configuration file, right-click deadlock will still occur as long as the input method service is mounted in the background.
内容来源: rime/weasel