Skip to content

No Preview in Peek for certain file extensions / extensionless files (that DO display via file explorer preview pane) #32145

Open
@pa-0

Description

Microsoft PowerToys version

0.79.0

Installation method

WinGet

Running as admin

Yes

Area(s) with issue?

Peek

Steps to reproduce

  1. Open a folder in File Explorer with Preview Pane activated.
  2. Select a file to view preview
  3. Preview Pane loads with progress bar as usual
  4. Text appears.
  5. CTRL+ for Peek Preview
  6. Peek appears displaying typical window when a filetype has no preview available.

✔️ Expected Behavior

Peek should mirror the PowerToys File-Explorer Preview Add-on in what it displays for text files.

❌ Actual Behavior

For certain file extensions and files with no extension, there is a discrepancy between what is displayed in preview pane of explorer and in Peek. Below is a screenshot that demonstrates this pretty clearly:
image

Question: Is there a registry key I can edit/add to tell Peek to treat certain filetypes as text-encoded files? For instance if I add the proper shellex subkey with the correct Preview Handler ID to the "." key in HKCR, I can preview the text in files with no extension. I'm hoping there is something similar that can be done for Peek (for both files with no extension and those with extensions that currently display nothing in Peek, e.g., *.ahk files.

Thanks.

Other Software

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-PeekRefers to Peek Powertoys

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions