Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peek doesn't work for files in a ZIP archive. #26146

Open
davegi opened this issue May 23, 2023 · 2 comments
Open

Peek doesn't work for files in a ZIP archive. #26146

davegi opened this issue May 23, 2023 · 2 comments
Labels
Issue-Bug Something isn't working Priority-2 Bug that is medium priority Product-Peek Refers to Peek Powertoys Status-Reproducible This issue was reproduced by a maintainer

Comments

@davegi
Copy link

davegi commented May 23, 2023

Microsoft PowerToys version

0.70

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

General

Steps to reproduce

Ctrl-space while a file (foo.h) was selected from w/in a ZIP archive being viewed w/Exploerer.

✔️ Expected Behavior

Exxtract file and display in viewer.

❌ Actual Behavior

Error in viewer.

Other Software

No response

@davegi davegi added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 23, 2023
@htcfreek htcfreek added the Product-Peek Refers to Peek Powertoys label May 23, 2023
@IamSmeagol
Copy link

IamSmeagol commented May 23, 2023

I had this same issue with a .jpg image within a zip archive. Attempting to use peek resulted in file explorer going into a state of not responding.

I tried again later with a different shortcut and this image appeared
image

@The-MAZZTer
Copy link

The-MAZZTer commented May 23, 2023

Looks like Peek just uses FileStream so this is not possible.

A proper fix would be to use the Shell API to read files.

Though a fix specifically for ZIP would be possible since .NET can read ZIP files.

@cinnamon-msft cinnamon-msft added Priority-2 Bug that is medium priority Status-Reproducible This issue was reproduced by a maintainer and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Priority-2 Bug that is medium priority Product-Peek Refers to Peek Powertoys Status-Reproducible This issue was reproduced by a maintainer
Projects
None yet
Development

No branches or pull requests

5 participants