<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 22, 2020 at 2:08 PM Dimas Streich (Informàtica Trueta) <<a href="mailto:dstreich.girona.ics@gencat.cat">dstreich.girona.ics@gencat.cat</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

  
  <div>
    <br>
    <div>El 19/10/2020 a les 19:03, Mike Kaply
      ha escrit:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Mon, Oct 19, 2020 at
            11:54 AM Dimas Streich (Informàtica Trueta) <<a href="mailto:dstreich.girona.ics@gencat.cat" target="_blank">dstreich.girona.ics@gencat.cat</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div> Hi,<br>
              <br>
              We've problems with some PDFs and the Firefox pdfjs
              implementation and we need to disable it. If we set the
              policy 'DisableBuiltinPDFViewer' to true the PDF handler
              disappears inside Options > General > Applications,
              so we can't use the Adobe connector to visualize it and
              the user is forced to download or open the PDF.<br>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>What is the Adobe connector? If the PDF isn't viewed
            within Firefox using our viewer, open or download would be
            the only other choices. There's no way to route it to
            Firefox (because there is no Acrobat/PDF plugin)</div>
        </div>
      </div>
    </blockquote>
    You're right, the Adobe connector doesn't work with Firefox 64bits.
    But is it normal that the PDF handler disappears and user can't opt
    to ask or open forever, or use the external reader (Adobe Reader)
    for default?<br></div></blockquote><div><br></div><div>What are you getting when you open a PDF? You should still get the helper dialog and the user can make a choice what to do with that PDF. If you disabled pdfjs, Firefox at that point doesn't know what to do with PDFs.</div><div>There are cases when PDFs are sent with the wrong mime type and we can't handle them properly.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <br>
    By the way, a noob question: is it possible to reset or change a
    user preference with policies with Firefox 68 ESR? I've seen the new
    Preferences policy in 78.3, it's very interesting but we can't use
    it yet. But anyway it don't support pdfjs.* preferences? :-(<br></div></blockquote><div><br></div><div>Are there some specific preferences you want? I can just add pdfjs to the list.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <br>
    For some reason we changed DisableBuiltinPDFViewer to false but many
    users still have pdfjs.disabled to true. The only way to change it
    is using the autoconfig pref()?<br></div></blockquote><div><br></div><div>You can definitely clear the pref using autoconfig - 
<strong>clearPref(prefName)</strong> 

 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <br>
    PD. One of the problems with the Firefox pdfjs is that it don't show
    the digital signatures. Do you know if it will be solved soon?
  </div></blockquote><div><br></div><div>I don't have an answer to that one. It hasn't come up before. I'll mention it to the PDF folks. FYI, the issue is:</div><div><br></div><div><a href="https://github.com/mozilla/pdf.js/issues/1076">https://github.com/mozilla/pdf.js/issues/1076</a></div><div><br></div><div>Mike<br> </div></div></div>