microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
108.92k stars 6.42k forks source link

[Peek] Preview CSV correctly (Works if rename ext to `.txt`) (Unrelated to Office files preview) #33811

Open pep-sanwer opened 1 month ago

pep-sanwer commented 1 month ago

Microsoft PowerToys version

0.82.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Peek

Steps to reproduce

This is not a dup of prior issues like: https://github.com/microsoft/PowerToys/issues/26210 or https://github.com/microsoft/PowerToys/issues/26253

Peeks seems to try and render CSVs using Excel, but fails: image

Renaming the file with .txt works as expected: image

Thank you to the team for such an incredible productivity boosting tool!

✔️ Expected Behavior

A preview of the CSV file (CSV is just plain text not a proprietary XML Office format)

❌ Actual Behavior

Preview fails as it tries to render as an Excel file

Other Software

No response

github-actions[bot] commented 1 month 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.