microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.76k stars 6.46k forks source link

Peek Support for .eml and .msg file types #29027

Open randose opened 11 months ago

randose commented 11 months ago

Description of the new feature / enhancement

Peek could be enhanced by adding support for .eml and .msg file types.

Scenario when this would be used?

Previewing email files saved to my file system, which I do to archive important conversations.

Supporting information

No response

TheJoeFin commented 11 months ago

This is a broad issue and would be challenging to judge as "Completed" there are several overlapping issues:

26760 and #26210

Could you refine this issue to be unique and specific, otherwise this is a duplicate issue. Thanks! /needinfo

randose commented 11 months ago

This is a broad issue and would be challenging to judge as "Completed" there are several overlapping issues:

26760 and #26210

Could you refine this issue to be unique and specific, otherwise this is a duplicate issue. Thanks! /needinfo

@TheJoeFin I've reviewed the overlapping issues and refined this issue to be specific to .eml and .msg file types. I will be creating 2 more issues with other specific points that aren't already covered by other open issues. Thank you. I'm happy to hear you've implemented the MS Office file previewing capability and excited to test it out in the 0.75 Release!

dillydylann commented 10 months ago

I caught this issue a little while after the PR was merged and it's due to the .eml and .msg registry entries not having their own preview handler GUIDs. However I recently noticed that Explorer is somehow redirecting to one of the HKEY_CLASSES_ROOT\MAPI entries which does have their own handler GUID that hosts the file types. I have no idea what Explorer does that redirects to those entries without doing some hardcoding.

From ShellExView:

image

randose commented 10 months ago

I caught this issue a little while after the PR was merged and it's due to the .eml and .msg registry entries not having their own preview handler GUIDs. However I recently noticed that Explorer is somehow redirecting to one of the HKEY_CLASSES_ROOT\MAPI entries which does have their own handler GUID that hosts the file types. I have no idea what Explorer does that redirects to those entries without doing some hardcoding.

From ShellExView:

image

Strange - When I use QuickLook, the message previews properly as expected, though I'm not sure which preview handler the software uses. Peek is not able to preview the .msg files and will instead just show a summary page like it does for all other unsupported filetypes / folders / drives.

Katydid628 commented 7 months ago

Any progress on enabling peek for .msg files? Previewing outlook files was my sole reason for downloading PowerToys (I have to save and refer to a large volume of emails) so it was disappointing to find the files don't preview.