Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Not a bug
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: Resource
-
Labels:None
-
Environment:Server: Moodle 1.8+ (2007021503) / Linux Ubuntu 7.04 / Apache 2.2.3 / PHP 5.2.1 / MySQL 5.0.38. -- Client: Internet Explorer and Firefox / Linux and Windows / Adobe Reader plugin for IE and FF.
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE
Description
I just upgraded from Moodle 1.7.1 to Moodle 1.8+ and noticed something wrong when displaying PDF files.
Only in the case "Keep page navigation visible on the same page" is selected, the PDF file is displayed as an embedded object! It means the PDF Adobe Reader plugin is no more used! As a consequence:
- the PDF byteserving ("fast web viewing / one page at a time") cannot work!
- the PDF window size is fixed, and is no more "adjusted" to the size of the browser window;
- ... and still more inconveniences.
As a work around, what can be done is:
- do not select "Keep page navigation visible on the same page" (but then you lose this functionality of course);
- adapting the .../type/file/resource.class.php file by removing "$embedded = true" when a PDF format has to be displayed.
What is making me really astonished is that it seems that this "bug" has been asked by somebody in ticket "MDL-9198 - Frameset used to display PDF" in order, if I well understand, to be compliant with XHTML rules.
This problem was not present in Moodle 1.7.1.
Some more info to clarify the problem.
Adobe Reader is a sofware to display PDF files. During the Adobe Reader installation, a "Web browser plugin" is installed on the computer as well. There is an Adobe Reader plugin for Internet Explorer and Firefox (under Windows or Linux).
When Adobe Reader is embedded as an object in the Web page, the plugin is no more used, but of course Adobe Reader is used to display the PDF file.
I just wanted to clarify the difference between "Adobe Reader" and "Adobe Reader plugin".
Remark: Adobe Reader was before called Adobe Acrobat Reader.