Vacaciones de Navidad de la empresa
Desde el 21 de Diciembre 2015 hasta el 3 de enero 2016, nuestra oficina en Münster trabaja con un equipo mínimo. Soporte limitado está disponible durante este período.
Deseamos a ustedes y sus familas Feliz Navidad y un próspero año nuevo.

 

Informe Bug: Chrome engine / opening pdf files

Reproducción

Try to open pdf file in SK Chrome engine, it gets opened via internal pdf viewer, not external app.

Descripción

Hello,
right now we use Chrome engine for one of our customers.
When he opens a pdf file from web (for example pdf http://www.africau.edu/images/default/sample.pdf ), the pdf file is automatically opened inside the browser (in the SK's Chrome), which we do not want. We need to use external app for that (Adobe Acrobat Reader DC), which is allowed in SK config.

So what we need is to trigger "download" of the file, instead of automatically opening it in the browser.
I know that in the SK's Chrome Customize menu I can select various file actions (and force pdf to open externally), but the problem is that these do not trigger, unless the "download" is triggered.

Would it be possible to instruct SK's "internal Chrome engine" to download (open externally) those files?
It is possible in Chrome itself via GPO/registry ( https://getadmx.com/?Category=Chrome&Policy=Google.Policies.Chrome::AlwaysOpenPdfExternally ), but setting this does not seem to work on the Sitekiosk engine, just the Standard chrome browser app. No difference also when setting default apps in W10 for pdf files.

Respuesta: (1)

Re: Chrome engine / opening pdf files 27/10/2020 14:09
Hello,

This is not a bug but a dedicated behavior.
If the web server does not explicitly deliver the PDF as a download (e.g. like this https://stackoverflow.com/questions/364946/how-to-make-pdf-file-downloadable-in-html-link), the linked PDF file will be opened in the SiteKiosk browser.

But you can use this command line switch to disable the PDF plugin in Chrome Browser skin:

disable-pdf-extension

Here the information how to add command line switches:
https://devblog.provisio.com/post/2016/09/19/Starting-SiteKiosk-Windows-with-Chrome-Command-Line-Switches.aspx

Regards,
Michael Olbrich