waveboxapp icon indicating copy to clipboard operation
waveboxapp copied to clipboard

Office365 Outlook PDF viewer not working

Open LesterU opened this issue 9 years ago • 6 comments

  • Which version of Wavebox are you using? [3.1.2]

  • Which Operating System are you using? [Windows 10]

The PDF viewer in Office365 Outlook doesn't work. It just says 'couldn't load plugin' Is it possible to get this working? Otherwise I have to download and this is a pain.

screenshot 2017-04-11 16 48 52

LesterU avatar Apr 11 '17 06:04 LesterU

Thanks, we'll take a look into what's happening here

Thomas101 avatar Apr 11 '17 08:04 Thomas101

Same problem on OS X. The problem is that chromium, and therefore electron, has no built-in support for displaying PDFs. Gmail bypasses this issue by providing its own PDF viewer, but O365 relies on whatever plugin the app provides.

Mozilla provides a free all javascript library to view PDFs, as an alternative to the plugin that Chrome uses. One solution would be to some way add it as a plugin for electron, though I'm not quite sure how to do that.

jacks-old-git avatar Apr 12 '17 04:04 jacks-old-git

Hi, I've been looking into this. Electron has started to add support for rendering PDFs in the beta channel, but it looks like there's still a few issues around it.

I can get a pdf to render by just pointing Wavebox at it, but it looks like Microsoft are doing something else with it, either embedding it with some extra arguments or serving it up with some some missing headers etc. I've raised an upstream issue with electron https://github.com/electron/electron/issues/9192 to see if they can shed any light on this

Thomas101 avatar Apr 14 '17 07:04 Thomas101

Was there ever any solution or work-around to this issue?

caldwed avatar Dec 20 '17 19:12 caldwed

There's been some improvements to the PDF engine in the very latest beta of electron, we've given these a try, but unfortunately they don't fix the issue.

On the flip side to that though, if you have access to the Outlook beta we have managed to add support in this and PDFs render as you'd expect. We also shipped PDF printing support in 3.5.0 which uses a different engine to render PDFs, we think we may be able to repurpose this in outlook for rendering too

Thomas101 avatar Dec 21 '17 09:12 Thomas101

This should be fixed in the current version of Wavebox, but if you're still seeing the issue let me know and I'll take another look. Thanks!

Thomas101 avatar Jul 20 '18 12:07 Thomas101