WebViewer 8.5.0 and 8.6.0 not working with Developer Tools

WebViewer Version: 8.5.0/8.6.0

Do you have an issue with a specific file(s)?
No

Can you reproduce using one of our samples or online demos?
Yes

Are you using the WebViewer server?
Yes, but it is not relevant as far as i can tell.

Does the issue only happen on certain browsers?
No

Is your issue related to a front-end framework?
I’m using Angular, but it also happens with the normal WebViewer-Demo, so i think it is not angular specific.

Is your issue related to annotations?
No

Please give a brief summary of your issue:
Open the WebViewer-Demo (PDFTron WebViewer Demo: JavaScript PDF Viewer Demo). Open Developer Tools and change to mobile view. An error occurs, that the PDF can’t be loaded:

Best regards

Christian

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hello Christian,

Thank you for contacting WebViewer Support.

​Unfortunately, I was not able to reproduce the error. Here are the steps I took with video link:

  1. Open JavaScript PDF Viewer Demo or PDFTron WebViewer Demo: JavaScript PDF Viewer Demo
  2. Open Chrome Dev Tools
  3. Open toggle device toolbar and set to sample mobile devices, no error pops up
    Screen Recording 2022-06-30 at 11.04.17 AM.mov - Google Drive

Can you provide more details, such as the web browser and the version of the browser you are using reproducing the error from?

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.
www.pdftron.com

Hello Kevin,

with JavaScript PDF Viewer Demo i can’t reproduce the error, but with PDFTron WebViewer Demo: JavaScript PDF Viewer Demo the error occurs.

In Safari it seems to work, but Edge, Chrome and Vivaldi gave me the error.

Steps:

  1. Open PDFTron WebViewer Demo: JavaScript PDF Viewer Demo
  2. Open Dev Tools
  3. Open toggle device toolbar and set for example iPhone SE
  4. Reload the Page, only then the error appears.

Best Regards
Christian

Hello Christian ,

Thank you for reporting and providing detailed reproduction steps.

We’ve added the issue to our backlog to be worked on in the future. We don’t have a timeline for when it will be fixed but if it does get fixed we’ll let you know when it’s available in an experimental build to test out and the estimated official release date. If you have a desired timeline for having this issue fixed please let us know and we’ll do our best to work with you on how this can fit into the WebViewer release schedule.

Best Regards,
Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.
www.pdftron.com

Hello Kevin,

thank you. As long as it works on Android and iOS mobile this is not really important. For test purposes it is sometimes nice to change the layout within the browser.
But for now it is ok to know, that it will be fixed in the future.

Best Regards
Christian