<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://pkp.sfu.ca/bugzilla/bugzilla.dtd">

<bugzilla version="4.2.5+"
          urlbase="http://pkp.sfu.ca/bugzilla/"
          
          maintainer="pkp-hosted@sfu.ca"
>

    <bug>
          <bug_id>6641</bug_id>
          
          <creation_ts>2011-05-10 15:08:00 -0700</creation_ts>
          <short_desc>Improve OxS&apos; iPad/Pod PDF display support</short_desc>
          <delta_ts>2012-09-21 14:33:13 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>OJS</product>
          <component>User Interface</component>
          <version>2.3.x</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James MacGregor">jmacgreg</reporter>
          <assigned_to name="PKP Support">pkp-support</assigned_to>
          <cc>alec</cc>
    
    <cc>axfelix</cc>
    
    <cc>nef</cc>
    
    <cc>sasutton</cc>
          
          <cf_alsoaffects>OCS 2.3.x</cf_alsoaffects>
    
    <cf_alsoaffects>OMP 0.9</cf_alsoaffects>

      

      

      

          <long_desc isprivate="0">
            <commentid>23745</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2011-05-10 15:08:27 -0700</bug_when>
            <thetext>See http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&amp;t=7488&amp;p=29065#p29065. Currently, only ~1.5 pages of a PDF is loaded in an iPad&apos;s Safari window after being clicked. There&apos;s a workaround (clicking &quot;Download this PDF&quot;), but it possible this display should work better/be optimized. (CC&apos;d Alex as I believe he&apos;ll be looking into this general issue more over time.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23746</commentid>
            <who name="Alex Garnett">axfelix</who>
            <bug_when>2011-05-10 16:14:56 -0700</bug_when>
            <thetext>Seems like loading PDFs using the object tag might be broken in the iPad browser. Might be best to implement a test for iPad user agent string that makes downloading the default behaviour? Any solution that emerges from my current research w/ ETCL is likely going to entail a non-browser PDF handler anyway, and I believe that all iPads can read PDFs one way or another, so it wouldn&apos;t be a bad idea to just pass the file to a user&apos;s default PDF-reading application. See here for js and PHP tests (I&apos;d implement it myself but it&apos;d take longer for me to grab the current OJS branch than to c/p these three lines of code): http://davidwalsh.name/detect-ipad.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23750</commentid>
            <who name="Alec Smecher">alec</who>
            <bug_when>2011-05-10 23:33:46 -0700</bug_when>
            <thetext>Alex, did you find any external information on the object tag problem? I&apos;m curious to read about it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23752</commentid>
            <who name="Alex Garnett">axfelix</who>
            <bug_when>2011-05-11 08:22:48 -0700</bug_when>
            <thetext>Not much, to be honest -- just a couple issues with other devs trying to fix the dimensions of the PDF: https://discussions.apple.com/thread/2556156?threadID=2556156&amp;tstart=0&amp;messageID=12156154 and http://stackoverflow.com/questions/5176370/how-to-set-pdf-width-in-mobile-safari.

&lt;object&gt; actually uses the device&apos;s default PDF handler to load the object in the browser window, right? I suppose it&apos;s possible that Matt(?) and the forum user who reported this bug both have an uncommon build of Adobe Reader for iOS installed, and that&apos;s what&apos;s causing the bug. That would explain it being not very widely reported, as this method of embedding PDFs still isn&apos;t very common.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>31470</commentid>
            <who name="Alec Smecher">alec</who>
            <bug_when>2012-09-21 14:33:13 -0700</bug_when>
            <thetext>Obsoleted by PDF display plugins.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>