Closed Bug 1811510 Opened 3 years ago Closed 3 years ago

Comma in formatted textfields inside a pdf show wrong decimal value

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 109
defect

Tracking

()

VERIFIED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- wontfix
firefox110 --- wontfix
firefox111 --- verified
firefox112 --- verified

People

(Reporter: blackgameslp, Assigned: calixte)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached file test-firefox.pdf

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

Steps to reproduce:

Open or Print a PDF that has a text field for numbers with the format of "1.234,56".
That field has "5,25" as its content (filled out not via firefox)

Note:
this is a new issue introduced in v109 as it worked correctly in v108

Actual results:

When the field is not selected (for editing) it shows "5,00".
if you select the field it shows "5,25"

It does show "5,25" if the content is "5.25".

Expected results:

In both cases, selected or not selected, it should show "5,25".

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → PDF Viewer
Assignee: nobody → cdenizet
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P1
Depends on: 1813363
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

Reproducible on a 2023-01-20 Nightly build on macOS 12.
Verified as fixed on Firefox 111.0b5(build ID: 20230223185944) and Nightly 112.0a1(build ID: 20230223172038) on macOS 12, Windows 11, Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Depends on: 2039544
No longer depends on: 2039544
Depends on: 2039755
No longer depends on: 2039755
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: