microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.01k stars 6.31k forks source link

Peek unable to get path #33519

Open mananshr opened 1 week ago

mananshr commented 1 week ago

Microsoft PowerToys version

0.81.0.0

Installation method

GitHub, PowerToys auto-update

Running as admin

No

Area(s) with issue?

Peek

Steps to reproduce

Seems like peek didn't pick up the path required.

Log: [01:17:31.8462578] [Info] PreviewSettings::LoadSettingsFromJson Peek preview-settings.json was missing, creating a new one [01:17:32.7366201] [Error] IShellItemExtensions::GetPath Getting path failed. Value does not fall within the expected range. [01:17:32.9380494] [Error] d__13::MoveNext Error getting folder from path. The parameter is incorrect.

The specified path is too short. It must have at least 1 character. [01:18:55.2489160] [Error] IShellItemExtensions::GetPath Getting path failed. Value does not fall within the expected range. [01:18:55.3141219] [Error] d__13::MoveNext Error getting folder from path. The parameter is incorrect.

The specified path is too short. It must have at least 1 character.

✔️ Expected Behavior

To open preview

❌ Actual Behavior

image

Other Software

Not Applicable

github-actions[bot] commented 1 week ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

crutkas commented 1 week ago

Can you provide the file path? Is this from a phone or camera?

betting it is https://github.com/microsoft/PowerToys/issues/33100