Open Bug 1679384 Opened 4 years ago Updated 2 years ago

PDF Viewer is cutting PDF Table contents (Forms?) on screen and on printout since V83.0

Categories

(Firefox :: PDF Viewer, defect, P3)

Firefox 83
defect

Tracking

()

Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- affected
firefox93 --- wontfix
firefox94 --- wontfix
firefox95 --- wontfix

People

(Reporter: bernd.seene, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [pdfjs-form-acroform])

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Steps to reproduce:

Customer uses Linux (Ubuntu), Firefox V83.0.
My customer uses a web based tool that creates PDFs on demand with many prefilled tables/forms on it.
The PDF is then opened and shown in a new Firefox tab.

Actual results:

Since V83.0 the tables/forms in the PDF are shown with a blue-ish background (seems to be UI change, so only noticing it) and some cells (e.g. with a date in it) are cut off, so DD.MM.YYyy is only DD.MM.YY with yy missing.
If you print this page on a real printer the date is printed with bigger font size than on screen so that only DD.MM is printed out (no YYYY at all).
In another cell the special german "Umlaut" letter, e.g. 'ö' is not printed, but left out in the word completely.

With standard Ubuntu PDF Viewer there is no problem: The same PDF is shown on screen and on printout (with real printer) with Ubuntu standard PDF viewer correctly, so it must be a firefox only issue.

Expected results:

There should be no cuting-off in tables/forms on screen and on print.
There should be no letting out of german "Umlaut" letters on print (I do not know if it also misses on screen because it was only presented to me on a printout)

Component: Untriaged → PDF Viewer

The severity field is not set for this bug.
:bdahl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bdahl)

:bernd.seene, could you attach a generated pdf in this bug report ?

Flags: needinfo?(bdahl) → needinfo?(bernd.seene)

I am not sure If I can attach some PDFs here to see for the public. I will check that. But I can send 1 or 2 PDFs to someone wo wants to have them, so they don't go public for everyone to see.

BR, B.S.

Flags: needinfo?(bernd.seene)

This PDF shows the bug on Linux (Ubuntu 18.04) with Firefox V83.

I took a screenshot on my VirtualBox Ubuntu 18.04 Linux and could recreate the DD-MM-YY <-cutoff Bug. I marked the cutted of region both in the visible Firefox window and in the Ubuntu PDF Viewer (where it is shown without the bug).

Comment on attachment 9193822 [details]
firefox_V83_Linux_cutting_screenshot.png

I took a screenshot on my VirtualBox Ubuntu 18.04 Linux and could recreate the DD-MM-YY <-cutoff Bug. I marked the cutted of region both in the visible Firefox window and in the Ubuntu PDF Viewer (where it is shown without the bug).

I printed the PDF with Firefox to the Ubuntu File printer and chose PDF as output format. In any PDF viewer I tried you see the DD-MM <-cutted bug

With my Virtual Ubuntu 18.04 I could not recreate the german Umlaut bug I saw at my customer, but lets do that one step at a time.
I hope you can review the bug better now.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression

This is a regression from supporting filling AcroForm forms.

Severity: -- → S2
Priority: -- → P3
Summary: Linux: PDF Viewer is cutting PDF Table contents (Forms?) on screen and on printout since V83.0 → PDF Viewer is cutting PDF Table contents (Forms?) on screen and on printout since V83.0
Whiteboard: [pdfjs-c-forms]
Whiteboard: [pdfjs-c-forms] → [pdfjs-form-acroform]
See Also: → 1721970

Printing seems to work well now, though the text is still cut off in the viewer.

Severity: S2 → S3

The bug seems to be fixed (at least on WIn10) by

2022-09-07T23:30:07.637000: DEBUG : Found commit message:
Bug 1776538 - Update PDF.js to cd35b9bfac85c00238cf0fa0f657a780f2a5ead6 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D150311
2022-09-07T23:30:07.639000: INFO : The bisection is done.

maybe by:
https://github.com/mozilla/pdf.js-/commit/7cce3fb6ff1f86ab75a74fc8f0fd93997af461f4
Authored: 2022-06-19 17:19:35 +0200
Committed: 2022-06-20 09:38:46 +0200
Ensure that the annotationLayer has the correct dimensions (PR 15036 follow-up)

Still problematic for me on Linux with a hidpi screen. Maybe it depends on the OS or the resolution of the screen?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: