Closed x-po closed 6 months ago
PowerToysReport_2023-12-21-21-23-33.zip
Archived bug report created a moment after error dialog appeared.
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Not sure if this is helpful to you, but I have the same exact issue. Peek crashes with same error code when I add the preview handler value to shellex sub-key for ahk
filetypes and then attempt to activate a Peek window on an ahk script.
Microsoft PowerToys version
0.76.2
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Peek
Steps to reproduce
1. Define a new filetype / extension in Registry Editor
Create a registry key with a filename and full path of
Computer\HKEY_CLASSES_ROOT\._
Configure like so:
2. Append the newly defined extension to the filename of a plain
txt
file, preferably one containing code (in my casevba
):outlook_options_prompt_sending.txt
-->outlook_options_prompt_before_sending._
3. Highlight the renamed file and press
CTRL
+⎵
to trigger a Peek window.✔️ Expected Behavior
A Peek window appears displaying the script block (as plain text since Monaco can't identify language in a file without an extension).
❌ Actual Behavior
All text in Details section of the above dialog copied and pasted below:
Other Software
No response