WebSite X5Help Center

 
Adrian B.
Adrian B.
User

Pdf object preview doesn't show in 2022.3.6  en

Autor: Adrian B.
Visitado 1529, Followers 1, Compartido 0  

I upgraded to 2022.3.6; the selected pdf file in the Preview area of the PDF File object no longer shows.

If the file isn't correctly located then the 404 graphic shows, and if the file is correctly located then the preview is just a black square.

A future bug fix please...

Adrian

Publicado en
11 RESPUESTAS
Aleksej H.
Aleksej H.
Moderator

Hello. Please provide a link to the website page with the problem. Also, please provide a PDF file for testing.

Leer más
Publicado en de Aleksej H.
Daniel W.
Daniel W.
User

I can confirm the statement, tested with Evo 2022.3.6 - here are the results:

1) Test PDF: https://wiso.uni-hohenheim.de/fileadmin/einrichtungen/wiso/PDF/Lehre/Anleitung_zum_OEffnen_von_PDF-Formularen.pdf

Preview: Dark rectangle

2) like 1), but last letter of URL removed

Preview: 404 error page

3) Test PDF from your own hard drive

Preview: No preview

And the internal browser preview takes an extremely long time to display the embedded PDF, if it displays that PDF at all.

With the 2nd click on preview, the program reacts very slowly before it even displays a blank preview, probably totally overloaded with calculations.

Leer más
Publicado en de Daniel W.
Aleksej H.
Aleksej H.
Moderator

I checked your file. It doesn't show up in the preview in the program. But it is displayed in the preview in the built-in browser and in Firefox.
I did not notice any slowdown in the program or browsers.
I don't have any PDF readers installed. But I can view these files in a browser.

Leer más
Publicado en de Aleksej H.
Daniel W.
Daniel W.
User

I tested it on my notebook with 2 new templates, a template that has already been edited several times and with the Evo and Pro versions, which I sometimes had to end via the task manager because they were somehow blocked.

The problem with the integration of PDF files occurs above all with the Evo version and the selection "Type: iframe". If there are problems, try "Type: Google Viewer".

It can also be due to the current state of the computer if there are problems.

Leer más
Publicado en de Daniel W.
Adrian B.
Adrian B.
User
Autor

I don't wish to use google viewer as sometimes it has a problem loading on user browsers.

The preview fail is in the X5 authoring; the pdf shows fine in the x5 previewer or user's browser when published - but in x5 it shows either as 404 message if it can't find the file, or it is supposed to show a preview of the pdf if the path is valid - but if the path is valid instead it shows just a black box (as per the example attached in the first message).

Adrian

Leer más
Publicado en de Adrian B.
Incomedia
Stefano G.
Incomedia

Hello Adrian

Is this page with the PDF online currently online?

If yes, can you please share the URL with me here?

I will personally check the page for you to see if any error is clearly visible

Thank you

Stefano

Leer más
Publicado en de Stefano G.
Adrian B.
Adrian B.
User
Autor

Here is the page:

abthermal.com/silicone-rubber-solid-cord-rope-high-temperature-heat-resistant.html

Adrian

Leer más
Publicado en de Adrian B.
Claudio D.
Claudio D.
Moderator
Usuario del mes IT

maybe I didn't understand , but I see the pdf...

Leer más
Publicado en de Claudio D.
Daniel W.
Daniel W.
User

The problem is the preview display of the PDF file. If it's a local PDF then there is no preview and if it's an external PDF there is a dark gray rectangle.

-----

Leer más
Publicado en de Daniel W.
Adrian B.
Adrian B.
User
Autor

That is correct - the object view is a grey box, but the web view is fine.

Previous version would display the object view correctly.

Leer más
Publicado en de Adrian B.
Incomedia
Stefano G.
Incomedia

Hello Adrian

I've reported the issue to the developers so that it can be verified

I'll notify you here as soon as news on this becomes available 

Thank you

Stefano

Leer más
Publicado en de Stefano G.