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] Support Office files #26210

Closed
Rudysin opened this issue May 24, 2023 · 21 comments
Closed

[Peek] Support Office files #26210

Rudysin opened this issue May 24, 2023 · 21 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-Peek Refers to Peek Powertoys Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@Rudysin
Copy link

Rudysin commented May 24, 2023

Microsoft PowerToys version

0.70.0

Installation method

GitHub

Running as admin

None

Area(s) with issue?

Peek

Steps to reproduce

Can't preview Word doc

✔️ Expected Behavior

View Word file without opening app

❌ Actual Behavior

Popup window show file name only
Screenshot 2023-05-24 173721

Other Software

No response

@Rudysin Rudysin added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 24, 2023
@joeledvina
Copy link

Nor does it work with Excel or PowerPoint files.

@jaimecbernardo jaimecbernardo added Idea-Enhancement New feature or request on an existing product and removed Issue-Bug Something isn't working labels May 24, 2023
@jaimecbernardo
Copy link
Collaborator

I think this is an enhancement request. Not a bug at this point.

@jaimecbernardo jaimecbernardo changed the title Peek doesn't work with Word docs [Peek] Support Office files May 24, 2023
@davidegiacometti davidegiacometti added the Product-Peek Refers to Peek Powertoys label May 27, 2023
@crutkas crutkas removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jun 9, 2023
@mheck-lm
Copy link

I'd love to see this being implemented!

@vivadavid
Copy link

Related to this thread, I'd like to suggest adding support for LibreOffice documents.

@didi8517
Copy link

Yes, that would be really great. The QuickLook software for windows has plugins to do this, perhaps that helps:

https://github.com/QL-Win/QuickLook.Plugin.OfficeViewer

https://github.com/QL-Win/QuickLook.Plugin.OfficeViewer-Native

Thanks!

@Jaifroid
Copy link

Jaifroid commented Sep 4, 2023

I use QuickLook in preference to Peek because of this. Without Office file support, this feature is kind of stymied for everyday use... Hope it can be added.

@dillydylann
Copy link
Contributor

I made a prototype of what Office files (Word and Excel) would look like by embedding their preview handlers:

image
image

@randose
Copy link

randose commented Oct 11, 2023

Well done! Looking forward to testing this out in the 0.75 Release.

@jaimecbernardo
Copy link
Collaborator

The work associated with this issue has been released as part of the 0.75 sprint. Please update PowerToys to the latest. https://github.com/microsoft/PowerToys/releases

@Jaifroid
Copy link

This is great news! I've downloaded and tested -- very smooth!

@vivadavid
Copy link

Hi,

Is there a way to peek a Microsoft Office file without having the programme installed? I currently use LibreOffice, but I still have old Microsoft Office files and I keep receiving new ones from other people. Having OnlyOffice installed doesn't work either.

@TheJoeFin
Copy link
Collaborator

@vivadavid does LibreOffice or OnlyOffice have document previewers which work in the File Explorer preview pane?

@vivadavid
Copy link

@vivadavid does LibreOffice or OnlyOffice have document previewers which work in the File Explorer preview pane?

Not that I know of. I keep thinking about getting in Bugzilla and open a thread about it. I think it's also difficult for file content indexers to index LibreOffice documents, so there must some kind of limitation or complexity related to the open document format.

@TheJoeFin
Copy link
Collaborator

At the end of the day PowerToys did not build an Office document previewer and no one has committed to building one any time soon.

@vivadavid
Copy link

I see... In any case, I keep my fingers crossed. When I have the chance, I'll ask in Bugzilla if there's something they can do about it. They must pretty busy now trying to revamp the LibreOffice app for Android.

@vivadavid
Copy link

@TheJoeFin , I've just remembered about this QuickLook MS Office plugin:

https://github.com/QL-Win/QuickLook.Plugin.OfficeViewer/releases

@EDIflyer
Copy link

EDIflyer commented Mar 30, 2024

The work associated with this issue has been released as part of the 0.75 sprint. Please update PowerToys to the latest. https://github.com/microsoft/PowerToys/releases

I'm running 0.79 but it seems to work inconsistently - some preview fine, others just show the Word icon and file details as in the OP?

(Also for some reason double-clicking the icon at the top left maximises rather than closes the application as one would normally expect)

UPDATE just worked out what the pattern is! I tried lots of different files (wondering if it was something to do with how old/new/big the files were!) and realised the ones causing the problems had all been downloaded and if I right clicked on them and selected 'unblock' then apply it resolve the issue and Peek worked OK. Not sure if this is something that can be worked around or not, but if not perhaps you could display a message in the window that pops up to inform the user the file needs to be unblocked??

image

@randose
Copy link

randose commented Apr 2, 2024 via email

@EDIflyer
Copy link

EDIflyer commented Apr 2, 2024

Thanks for the reply @randose - nothing special about these files at all, and once I unblocked them they worked fine (I think you only got the email notification for my initial post - I then edited it with a follow-up where I'd sussed that it was them being downloaded files that was the issue and unblocking in properties did the trick!).

@randose
Copy link

randose commented Apr 2, 2024 via email

@EDIflyer
Copy link

EDIflyer commented Apr 2, 2024

Thanks, Daniel - hopefully they can consider adding a warning to users too just to flag up that they may want to unblock the file to be able to use Peek on it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-Peek Refers to Peek Powertoys Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests