Keyboard completion for "Company" field in People

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.1.0.24, 4.2.0.21
HARDWARE (XA2, X10, X10 II, …): X10 II
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?): unknown

DESCRIPTION:

In the People app, previous texts I have entered in the “Company” field appear as single words in the keyboard completion for the same field. For instance, if I enter “Privateer at Jolla” as company for a contact, then when adding a new contact “Privateer at Jolla” appears as a single word among the suggestions above the keyboard.

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. Add a contact inserting a multi-word “Company” field, e.g., “Privateer at Jolla”.
  2. Start adding a second contact, and tap on “Company”

EXPECTED RESULT:

Nothing at all, or at most the words “Privateer”, “at”, “Jolla”, apper under suggested keyboard completions.

ACTUAL RESULT:

“Privateer at Jolla” appears as a single word in keyboard completion.

ADDITIONAL INFORMATION:

If this is by design, it is surely weird. It is the only text box in which I could notice this behavior.

We have published the OS release 4.2.0.21 on Monday. Please update and try with that. :slight_smile:

I have updated to Verla, and I confirm that the bug persists. Editing the main post to add this in.

Yeap and rather easy to reproduce.

My recollection is that this is intentional. Some fields in the People app use a custom auto-complete widget. The idea is that you’re likely to know multiple people from the same organisation, or with the same role, so there’s a good chance you’ll want to re-use entries multiple times.

It should apply to the Company, Job title, Department and Role fields (plus potentially a couple of others). The suggestions are field-specific, so won’t affect suggestions made elsewhere.

Although it’s intentional, I think it’s a perfectly reasonable question about whether this is the most useful behaviour.

In case it’s of interest, you can see some of the exposed logic in the /usr/lib64/qt5/qml/Sailfish/Contacts/detaileditors/CompanyEditor.qml file, line 17 onwards (the autoFillField property):

    readonly property var _fields: [
        { "type": Person.CompanyType, "propertyName": "companyName", "persistent": true, "autoFillField": ContactDetailSuggestions.OrganizationName },
        { "type": Person.TitleType, "propertyName": "title", "persistent": false, "autoFillField": ContactDetailSuggestions.OrganizationTitle },
        { "type": Person.DepartmentType, "propertyName": "department", "persistent": false, "autoFillField": ContactDetailSuggestions.OrganizationDepartment },
        { "type": Person.RoleType, "propertyName": "role", "persistent": false, "autoFillField": ContactDetailSuggestions.OrganizationRole },
    ]
2 Likes

It is the same with the name of event field in the calendar app, witch is useful.

2 Likes

Indeed intentional. Allows to pick the same company name for the next contact by one tap.