Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81059

Problems with Chrome PDF viewer

$
0
0

Hi everyone,

I'm having an issue with the PDF viewer from Chrome. The pdf viewer won't show the pdf but just a black screen. It seems to occur on more complex pages. In my own project I never see the pdf. In my (more simpler) test project I sometimes see the pdf and sometimes not. The error does not occur in Edge or Firefox. When i use an external PDF viewer extension in Chrome it works fine. When I'm shown the black screen a warning appears in the Mendix console "Caught IOException while trying to write data to a client connection: null".

I've checked the following things:

  • Issue only appears in Chrome, with Chrome PDF viewer
  • I have the newest version of the Document viewer widget from the app store
  • I have the newest version of chrome
  • No logging in the browser console
  • The Iframe is rendered correctly with the file URL, when opening this URL you see the PDF just fine
  • Ruled out security
  • Mendix 6.10.3
  • When I create a new simple filedocument object grid with newedit page the viewer works fine in the same app, it only occurs when working with multiple dataviews/grids on a page but then difficult to reproduce when it breaks.
  • During testing and reproducing I've also found another issue in firefox. When you open the page which has the Document viewer widget Firefox opens a second tab with the document in full screen. This behaviour is maybe related to this issue but it could also be a different issue. This behaviour only occurs when you double click the grid record, not when you select and press Edit. This behaviour is not consistent, it happens on and off.

 

I've filed a support ticket but I maybe other people experience the same issue. It took me some time to figure out and reproduce so this might help you if you run into the same problem.


Viewing all articles
Browse latest Browse all 81059

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>