PowerToys
PowerToys copied to clipboard
Peek not working in several file manager
Microsoft PowerToys version
0.72.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Peek
Steps to reproduce
Default Keybinding (Ctrl+Space): The Peek feature fails to respond to the default keybinding "Ctrl+Space" in all file managers. After pressing "Ctrl+Space," no Peek window appears.
Custom Keybindings (Alt+Shift+G): I attempted to reassign the keybinding to "Alt+Shift+G" in both the file managers Directory Opus and Files. Unfortunately, even after the remapping, Peek still does not respond to the new key combination.
In the native Windows file manager, I remapped the keybinding, and this time the Peek window appeared. However, the window continuously displayed the message "loading" without ever showing the actual file preview. When I clicked on the close button, the window flickered briefly before closing, indicating that it might not have closed properly. After the closure, attempting to use the keybinding again did not trigger Peek. I found that only by restarting the Peek feature in PowerToys was I able to make Peek work again, but it still got stuck in the endless loading loop.
✔️ Expected Behavior
Preview files through Peek properly in file managers
❌ Actual Behavior
No response
Other Software
Directory Opus v.12.32 Files v2.5.20
/bugreport
I think I've seen Directory Opus mentioned on other issues, so maybe there's an incompatibility here.
Hi there!
We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Here is the zip file: PowerToysReport_2023-08-03-01-48-14.zip
Or maybe paste the log here directly:
ERROR: 01:44:01.8714908
[Method]: Initialize [Class]: MainWindowViewModel
Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: 不支持此接口 (0x80004002 (E_NOINTERFACE)).
ERROR: 01:44:57.3427094
[Method]: Initialize [Class]: MainWindowViewModel
Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: 不支持此接口 (0x80004002 (E_NOINTERFACE)).
The log error messages appear when I test it in Windows native file manager. No log was created when I tested it in Directory Opus, there was a system alert beep when I pressed the key so I guess it wasn't captured.
This has been worked on during the 0.79.0 release cycle. Please update to the latest: https://github.com/microsoft/PowerToys/releases
Just updated PowerToys 0.80.1 and Ctrl + P didn't work for me either in Explorer, nor did changing to a custom shortcut