Opened 8 years ago

Closed 8 years ago

#610 closed defect (fixed)

Contacts has problems editing and storing name text

Reported by: vnevoa Owned by: ainulindale
Priority: major Milestone:
Component: SHR Image Version: SHR-unstable
Keywords: Contacts Cc:

Description

Image: shr-lite-glibc-ipk--20090808-om-gta02.rootfs.jffs2
Kernel: uImage-2.6.29-oe11+gitr119838+2d158aae9d8d36f575504f59884ed8e80802efe2-r3.5-om-gta02.bin
Bootloader: Qi
Opkg upgraded today, rebooted twice after that.
All my contacts are stored in SIM card.
I mount my home from the sdcard.
I removed ".e" and ".gpe" from the card before reflashing.

When editing a previously stored contact's name, it is not possible to store it if it has a space in the name. This fails silently.
Otherwise editing works well.

When creating a new contact, it also fails silently if the name has a space in it.
Otherwise storing a new one works well.

When editing the contact's name, there is awkwardness in the interaction of the keyboard with the text box.
1 - when opening the editing window, the text cursor is sitting on the left side instead of at the end of the name. When we press the "END" key on the keyboard, the cursor goes to (n-1), n being the last character of the name. We have to use the arrow keys to get the cursor to the end.
2 - with the cursor at the end of the name, if we type a space, the text box wraps the text to the next line, even if there is a lot of room for the second name.

This is a major defect for me, since it prevents storage of contact names with first and last name.

A workaround I devised is:
Go to Settings / Others / Domains / Contacts;
Make SIM-Contacts-FSO the default;
Disable all others;
Now it allows me to create new contacts with spaces in the name, but fails silently when editing just like before.

The frameworkd.log shows no errors at all when doing these actions.

Change History (4)

comment:1 Changed 8 years ago by Heinervdm

How many chars had the name with withespace and the one without, and what's the value form: SHR-Settings -> Phone -> SIM settings -> Book contacts -> name_length?

comment:2 Changed 8 years ago by vnevoa

"name_length" is 14.
The name without whitespace (first name) is 11 chars long.
The last name is 10 chars long, so together with a whitespace they make 22 chars.

I tried again to add a new contact, this time with a white space but respecting the 14 char limit, and it works. Editing also works, if 14 char limit observed.
Sorry about the confusion, I had totally forgotten about this SIM limitation.

However, the front end of Contacts should not fail silently.
And the whitespace handling (line wrapping) should be cleaner.
And I suggest that the text box for the name should be as long as it CAN be.

comment:3 Changed 8 years ago by vnevoa

The text boxes have really strange behaviors, including the ones I described above, and some more.

Some times they just stop taking input. The keyboard disapears, and if we call it back with the "qwerty" button the input is redirected into a small textbox that appears in the lower right corner of the screen.

This should be looked at.

comment:4 Changed 8 years ago by dos

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed in new image. If it isn't - please reopen.

Note: See TracTickets for help on using tickets.