Closed Bug 1716809 Opened 4 years ago Closed 4 years ago

Text is displayed in more rows

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 91
Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox90 --- disabled
firefox91 --- verified

People

(Reporter: rpopovici, Assigned: calixte)

References

()

Details

Attachments

(4 files)

Tested with:
Nightly 91.0a1 (2021-06-16)

Tested on:
Win 10

Preconditions:
In about:config, set pdfjs.enableXfa = true

Steps:

  1. Launch firefox
  2. Open the attached pdf.
  3. Input a long text into "DNI" and "Apellidos y Nombre" text fields.

Actual result:
Text is displayed in more rows. See screenshot

Expected result:
Text fields should be limited to 1 row as in Adobe Reader

Attached image Nightly91.png
Attached image adobereader.png
No longer blocks: 1716293
No longer depends on: 1716294
Summary: Text field should have a limit of chars → Text is displayed in more rows
Blocks: 1716816
No longer blocks: 1716816

The default type of text field (multline or not) depends of the context.
So I wrote a patch to fix that:
https://github.com/mozilla/pdf.js/pull/13570

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Priority: -- → P1
Depends on: 1717132

This should now be fixed, Ralu can you verify?

Flags: needinfo?(raluca.popovici)

I can confirm that this issue no longer occurs on Nightly v91.0a1, 20210618092056.
Please change its status accordingly. Thanks!

Flags: needinfo?(cdenizet)
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(cdenizet)
Resolution: --- → FIXED

Fix verified.

Status: RESOLVED → VERIFIED
OS: Windows 10 → All
QA Whiteboard: [pdf_xfa_generic]

This was verified.

Flags: needinfo?(raluca.popovici)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: