Moodle

Problems with PDF files

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Won't Fix
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: Accessibility
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

Hello,

the more and more we are receiving mails by students, who have big problems opening a pdf document and beginnen to dislike moodle. Sometimes the CPU goes up to 100% because ArcoRD32.exe is hanging.

I think it's a problem by Adobe, because it is solveable by killing the application and reloading the page, but I'm not sure, that this is normal and like to report it. This problem occurs with IE and Firefox too and only sometimes and on different systems. The browsers are hanging then, until the reader application is killed or after long waiting time (it seems Adobe is still loading the file ...).

Is this a bug in Adobe Acrobat Reader or Moodle? Is there a work-around available? Might it be a performance problem ?

Thanks for help.

Activity

Hide
Suzanne added a comment -

We are having the same issue in 1.9.5

When we let the file sit we get the following error: "A file I/O error has occurred. The file connection timed out."

Show
Suzanne added a comment - We are having the same issue in 1.9.5 When we let the file sit we get the following error: "A file I/O error has occurred. The file connection timed out."
Hide
Dariem Garces (Demian) added a comment -

Moodle version: Moodle 1.9.5+ (Build: 20090527)
file: mod/resource/type/file/resource.class.php
line: 696

it´s says: echo '<object data="' . $fullurl . '" type="application/pdf">';

most says: echo '<object data="' . $fullurl . '#" type="application/pdf">';

thanks to Sam Hemelryk

Show
Dariem Garces (Demian) added a comment - Moodle version: Moodle 1.9.5+ (Build: 20090527) file: mod/resource/type/file/resource.class.php line: 696 it´s says: echo '<object data="' . $fullurl . '" type="application/pdf">'; most says: echo '<object data="' . $fullurl . '#" type="application/pdf">'; thanks to Sam Hemelryk
Hide
Sam Hemelryk added a comment -

Hi Guys,

As Dariem mentioned above, we found a very simple fix for the problems that he was experiencing with PDF display.

The problem that he was having was that when trying to view a particular PDF, Firefox would crash. I was able to replicate the same problem using the same PDF document on Firefox 3.0.10.0 albeit my browser showed and a blank screen but did not crash.

I have a attached a patch for the fix that worked for both Dariem and myself. With any luck the problems you are experiencing are the same as those that Dariem was experiencing... if so hopefully this little patch will help.

If anyone tries this could you please let us know whether this is the solution to your problems

Show
Sam Hemelryk added a comment - Hi Guys, As Dariem mentioned above, we found a very simple fix for the problems that he was experiencing with PDF display. The problem that he was having was that when trying to view a particular PDF, Firefox would crash. I was able to replicate the same problem using the same PDF document on Firefox 3.0.10.0 albeit my browser showed and a blank screen but did not crash. I have a attached a patch for the fix that worked for both Dariem and myself. With any luck the problems you are experiencing are the same as those that Dariem was experiencing... if so hopefully this little patch will help. If anyone tries this could you please let us know whether this is the solution to your problems
Hide
Sam Hemelryk added a comment -

Hi guys,

Sorry it really looks like this was an issue within Adobe readers browser plugin back in version 8.x. As such the fix isn't going to be applied in core as its not pre spec.

Cheers
Sam

Show
Sam Hemelryk added a comment - Hi guys, Sorry it really looks like this was an issue within Adobe readers browser plugin back in version 8.x. As such the fix isn't going to be applied in core as its not pre spec. Cheers Sam
Hide
Helen Foster added a comment -

Removing fix version as resolution is 'won't fix'.

Show
Helen Foster added a comment - Removing fix version as resolution is 'won't fix'.

Dates

  • Created:
    Updated:
    Resolved: