<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">El 22/10/2020 a les 21:17, Mike Kaply
      ha escrit:<br>
    </div>
    <blockquote type="cite" cite="mid:CAHueOzAzZn02evdC-DZUiv3xpurEX5whh4fFku72ySHqSc40kQ@mail.gmail.com">
      
      <div dir="ltr">
        <div class="gmail_quote"><br>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div><br>
              <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" moz-do-not-send="true">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>
    Understood. I will investigate more, I was just surprised by not
    finding PDF in the application list.<br>
    <blockquote type="cite" cite="mid:CAHueOzAzZn02evdC-DZUiv3xpurEX5whh4fFku72ySHqSc40kQ@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <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>
    Yes please! In this case we will use autoconfig but in a near future
    we'd like to get rid of it.<br>
    <blockquote type="cite" cite="mid:CAHueOzAzZn02evdC-DZUiv3xpurEX5whh4fFku72ySHqSc40kQ@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <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>
        </div>
      </div>
    </blockquote>
    Perfect, thx<br>
    <blockquote type="cite" cite="mid:CAHueOzAzZn02evdC-DZUiv3xpurEX5whh4fFku72ySHqSc40kQ@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <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>
              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" moz-do-not-send="true">https://github.com/mozilla/pdf.js/issues/1076</a></div>
        </div>
      </div>
    </blockquote>
    Nice! I hope it can be fixed soon, at time for future 78 ESR... or
    at least 88 ESR.<br>
    <blockquote type="cite" cite="mid:CAHueOzAzZn02evdC-DZUiv3xpurEX5whh4fFku72ySHqSc40kQ@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <div><br>
          </div>
          <div>Mike<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <br>
      <font style="font-family: Verdana;font-size: 8pt;color: #1F497D;">
        <strong>Dimas Streich i Colomeda<br>
        </strong>
        Unitat de Tecnologies de la Informació i Comunicació<br>
        Hospital Universitari de Girona Doctor Josep Trueta<br>
        Institut Català de la Salut Girona<br>
        Departament de Salut | Generalitat de Catalunya<br>
        Av.França s/n | 17007 Girona<br>
        <a href="mailto:dstreich.girona.ics@gencat.cat">dstreich.girona.ics@gencat.cat</a>
        | <a href="http://www.hospitaltrueta.cat">http://www.hospitaltrueta.cat</a><br>
        <a href="http://www.facebook.com/icscat"><img src="http://icsgirona.cat/images/facebook.png"></a> <a href="http://twitter.com/htrueta"><img src="http://icsgirona.cat/images/twitter.png"></a> <a href="http://projectecims.wordpress.com"><img src="http://icsgirona.cat/images/wordpress.png"></a> <a href="http://www.youtube.com/icscat"><img src="http://icsgirona.cat/images/youtube.png"></a> <a href="http://slideshare.net/icscat"><img src="http://icsgirona.cat/images/slideshare.png"></a><br>
        <br>
        Aquest missatge s'adreça exclusivament a la persona destinatària
        i pot contenir informació privilegiada o
        confidencial. Si no sou el destinatari indicat, us recordem que
        la utilització, divulgació i/o còpia
        sense autorització està prohibida en virtut de la legislació
        vigent. Si heu rebut aquest missatge per error, feu-nos-ho saber
        immediatament per aquesta via i destruïu-lo.<br>
        Abans d'imprimir aquest correu, assegureu-vos que és realment
        necessari.
      </font></div>
  </body>
</html>