← Back to team overview

mahara-contributors team mailing list archive

[Bug 1962580] Re: Blocktype PDF - Missing command icons on PDF viewer

 

Hi Alex,

Thanks for reporting this.

I can confirm that the issue appears when using Safari, i.e. the icons
of the PDF viewer are not displayed.

Further details:
- When testing the PDF Viewer with Safari on master-dev-testing, which has the latest PDF.js upgrade included, there is also an error in the viewer and it won't display the PDF:

"An error occurred while loading the PDF. 
PDF.js v2.14.2 (build: 2cc98dcda)
Message: Can't find the variable: structuredClone"

There are no errors when using the PDF viewer with master-dev-testing on
Chromium or Firefox.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1962580

Title:
  Blocktype PDF - Missing command icons on PDF viewer

Status in Mahara:
  New

Bug description:
  Our Mahara 21.10 installation is on an Ubuntu 20.10 LTS Server running
  PHP 7.4.

  Using Safari in a view containing a PDF block the command button icons
  of the PDF viewer are not displayed (Buttons are graphically "empty").
  Nevertheless normal functionality is provided by clicking on those
  buttons.

  This issue doesn't appear on Firefox and Chrome. Looking at the
  console output it shows, that in Safari the icon svg files are fetched
  from a different location on the server than in Firefox and Chrome.

  
  Does anybody else has this issue?

  
  Cheers
  Alex

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1962580/+subscriptions



References