Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Firefox integrated PDF viewer causing trouble

133 views
Skip to first unread message

Osdoba, Sascha

unread,
Nov 13, 2024, 5:26:17 AM11/13/24
to enter...@mozilla.org
Hi,

a month ago we changed from Firefox 115esr to 128esr and some users see Firefox misbehaving with PDFs.

We have Firefox 128.4.0esr installed at all of them.

We use SAP Saplogon (standalone application which uses Edge webview in the background) and users open PDFs from SAP and they will be opened in Firefox. Some PDFs are fully ok, some are blank, some are just partially ok.
All PDFs will be shown correctly if change the setting for PDFs in Firefox from "open with Firefox" to "open in default application".

If I set default browser to Edge and do the things in SAP, PDFs will be shown correctly in Edge.

What I had checked already in Firefox:

-done a profile cleanup
-used trouble shoot mode
-created a new user profile for Firefox

Nothing helped. Those users hadn't had these problems with Firefox 115esr.


Any clue on this?


Regards,

Sascha

Mike Kaply

unread,
Nov 13, 2024, 10:56:22 AM11/13/24
to Osdoba, Sascha, enter...@mozilla.org
Are there any specific PDFs you are able to share?

Do they load incorrectly when you load them standalone?

Did they work better in Firefox 115?

Mike

--
You received this message because you are subscribed to the Google Groups "enter...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise+...@mozilla.org.
To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/enterprise/1b959cbc5dca46a0b0afe34727e268f7%40gsi.de.

Osdoba, Sascha

unread,
Nov 13, 2024, 11:29:22 AM11/13/24
to Mike Kaply, enter...@mozilla.org

I asked them, mostly invoices and finance things so I guess I will not able to share these PDFs but maybe we will find some which can be shared

 

I tested two of them on my client in Firefox directly and saw no problem but I will test it with these users on their Firefox directly

 

 

Sascha

Gausmann, Thomas

unread,
Nov 13, 2024, 1:09:44 PM11/13/24
to Osdoba, Sascha, Mike Kaply, enter...@mozilla.org

I have the same problems / effects with some PDFs from online banking. There are some fonts NOT embedded. Did you check if all used fonts are embedded in the PDFs?

Andrew C Aitchison

unread,
Nov 13, 2024, 4:43:07 PM11/13/24
to Osdoba, Sascha, enter...@mozilla.org
On Wed, 13 Nov 2024, Osdoba, Sascha wrote:

> Hi,
>
> a month ago we changed from Firefox 115esr to 128esr and some users
> see Firefox misbehaving with PDFs.
>
> We have Firefox 128.4.0esr installed at all of them.
>
> We use SAP Saplogon (standalone application which uses Edge webview
> in the background) and users open PDFs from SAP and they will be
> opened in Firefox. Some PDFs are fully ok, some are blank, some are
> just partially ok. All PDFs will be shown correctly if change the
> setting for PDFs in Firefox from "open with Firefox" to "open in
> default application".

Does each PDF display the same each time you view it in "Open in Firefox",
or does it show sometimes but not others ?
(Or are they generated anew each time,
making that a difficult question to answer ?)

Can you confirm that an affected user seems some SAP PDFs correctly,
but not others (possibly ruling out that the there is something
different about how these files are generated on their machines/accounts) ?

> If I set default browser to Edge and do the things in SAP, PDFs will
> be shown correctly in Edge.
>
> What I had checked already in Firefox:
>
> -done a profile cleanup
> -used trouble shoot mode
> -created a new user profile for Firefox
>
> Nothing helped. Those users hadn't had these problems with Firefox 115esr.
>
>
> Any clue on this?


--
Andrew C. Aitchison Kendal, UK
and...@aitchison.me.uk

Calixte Denizet

unread,
Nov 14, 2024, 11:52:57 AM11/14/24
to Andrew C Aitchison, Osdoba, Sascha, enter...@mozilla.org
Hey,

Could you file some bugs in attaching the pdf having some rendering issues:
You can make the bug confidential:
image.png
to make sure that only Mozilla employees will be able to see the pdfs.
If you aren't sure if it's possible to share them on Bugzilla, you can send them on my pro email account.

That said when the fonts aren't embedded in the pdf we try to fallback on the system ones if they're present and sometimes it's possible that a fallback is wrong (for example because a bad font is internally named Calibri).
If the pdf is just blank, it's a serious issue and the only way to find a fix is to have the pdfs.
Did you try opening them in Firefox Nightly ?
Maybe you can find the patch which introduced this regression in using mozregression.

Thank you.

Calixte


--
You received this message because you are subscribed to the Google Groups "enter...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise+...@mozilla.org.
Message has been deleted

Calixte Denizet

unread,
Nov 22, 2024, 8:22:25 AM11/22/24
to Osdoba, Sascha, enter...@mozilla.org
What's the value of the option "javascript.options.wasm" in about:config ?
If I set it to false then the image disappears.
The image is in jpeg2000 format and we use a decoder compiled into wasm.
In 115, we were using a decoder implemented in pure js but it was buggy, slow and some features were missing. That's why we switched to another one.

Calixte

Le ven. 22 nov. 2024 à 13:39, Osdoba, Sascha <S.Os...@gsi.de> a écrit :

Dear all,

 

first thanks for your answers you helped me to reduce this problem to a certain constellation.

 

We see this problem on our Citrix system which is proxied (WPAD/PAC script) and for all users.

 

If i save the PDFs and open them directly in Firefox (in Citrix) they are also not okay.

Iif I open them in Adobe Reader on the same system they are ok and in MS Edge as well (same proxy settings as well but via system proxy.

 

In Firefox we configured proxy as a separate setting via GPO (not set to system proxy).

(I did some tests but proxy pa curl or system proxy setting lead to the same WPAD script and doesn’t make any difference for PDFs).

 

Open same PDF on a default Windows client (no proxy) will be shown correctly.

 

I did a lot of testing – with embedded and not embedded fonts and fast web view or not but I didn’t got a clue. Then I manipulated a PDF which is broken on our Citrix

and shrinked it so it and can be shared, attached it.

 

Then I uninstalled 128.4.0esr and installed 115.9.1esr and tried the same PDF file (with the same GPO settings as before) and its not broken, you can see the logo in the upper right corner.

Updated to 115.12.0esr which is also good and then updated to 128.4.0esr and its broken again (broken means only white PDF, no content).

 

So something has changed between 115 and 128 in the PDF viewer whichs breaks PDFs in our Citrix environment.

 

 

 

 

 

Sascha

 

Von: 'Calixte Denizet' via enter...@mozilla.org <enter...@mozilla.org>
Gesendet: Donnerstag, 14.
November 2024 17:53
An: Andrew C Aitchison <and...@aitchison.me.uk>
Cc: Osdoba, Sascha <S.Os...@gsi.de>; enter...@mozilla.org
Betreff: Re: [Mozilla Enterprise] Firefox integrated PDF viewer causing trouble

 

Hey,

 

Could you file some bugs in attaching the pdf having some rendering issues:

You can make the bug confidential:

--
You received this message because you are subscribed to the Google Groups "enter...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise+...@mozilla.org.

Osdoba, Sascha

unread,
Nov 22, 2024, 10:56:49 AM11/22/24
to Calixte Denizet, enter...@mozilla.org

Hi Calixte,

 

its set to true, never changed this.

 

Sascha

 

Von: 'Calixte Denizet' via enter...@mozilla.org <enter...@mozilla.org>

Gesendet: Freitag, 22. November 2024 14:22
An: Osdoba, Sascha <S.Os...@gsi.de>

Reply all
Reply to author
Forward
0 new messages