Open Bug 2007294 Opened 9 months ago Updated 1 month ago

Firefox form population doesn't work right if your last name has a space in it.

Categories

(Toolkit :: Form Autofill, defect, P3)

Firefox 146
defect

Tracking

()

UNCONFIRMED

People

(Reporter: resuna, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0

Steps to reproduce:

Start entering my email address in a form. Firefox offers me some saved items to use.

Actual results:

It filled out the "last name" field with "Silva"

Expected results:

It should fill out the "last name" field with "da Silva"

I mean, it's not that hard to type in the "da " part. But it gets old, you know.

Reference: https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/

Component: Untriaged → Form Autofill
Product: Firefox → Toolkit

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

For more information, please visit BugBot documentation.

Flags: needinfo?(dlee)

This is also a problem for people who have two first names - effectively a space in their first name.

Apparently internally Firefox is just storing a single name field and ignoring the fact that it was sourced from separate first and last name fields.

"da" is not in the name prefix list, that is why we cannot split the name correctly.

We should either add the prefix to the list or figure out a better way to improve our name split algorithm

Severity: -- → S3
Flags: needinfo?(dlee)
Priority: -- → P3

The name-split algorithm is a red herring.

When a name is filled out in a form that has separate first and last name fields, you should preserve that information and not internally merge and re-split the name.

Also " Status: UNCONFIRMED"? Really?

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