contact-app when I select a contact object in the list I sometimes get the details of the previous one

Bug #1569596 reported by Ren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Incomplete
Undecided
Bill Filler
address-book-app (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using the recent standard version 32 - OTA-10.1 on krillin (bq aquaris 4.5)

Step to reproduce:

1- Restart the phone
2- go to the dash and preload the main applications:
contact, messaging, and calendar.
3- Wait until calendar window comes up.
4- swith to contact application, and wait 10 seconds.
5- select one contact in the middle of the 1st screen to get its own details

Actual Result:
6- realize you get the previous contact!

Expected result:
6- should get the selected contact details

Context:
I have many contacts on the phone that I have transferred
with vcards. Remember to select a contact that is on
the first screen.

Example demonstrating this issue:
See attached video DSCN2210.AVI (sorry for the bad movie quality).

Other notice:
I have similar issue with the clock application, when
I want to change the time of an event, another one
is presented for modification (among 4 events).
Difficult to reproduce...
If you want I'll show you in another bugid report.

Revision history for this message
Ren (ubuntech) wrote :
Revision history for this message
Ren (ubuntech) wrote :

Additional information:

This issue is easier to reproduce.
You need not to restart the phone as I told in the Step 1.

Step 1: You must be sure that all the applications like
"contacts, message, and calendar" are not running.

Step 2: Swipe from the left to reveal the Launcher
and tap the application "contacts".
Redo the same gestual to load the 2 other applications
messaging, and calendar.

Step 5 : in my video, when I tap on the contact "AlloTest-LineOffset..."
the "AAA-EXAMPLE..." details will be displayed.

Then I am demonstrating that the problem also
occurs on the next contact when I tap on "Apt-Bajondillo..."
the contact details is "AlloTest-LineOffset..".

Tell me if you need more information and if the video is ok.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

From the video it actually seems like a different entry than the previous is shown (previous is AF and shown is FA) Seems the database is not right
The db is a sqllite db at .local/share/evolution/addressbook/<account-uuid>/contacts.db

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
status: New → Incomplete
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Whats happen if you scroll the screen a bit? Could this be caused due a missing frame painting?

Revision history for this message
Ren (ubuntech) wrote :

When I scroll the screen a bit, nothing of special occurs, the contacts
list scrolls.
If a select a contact till the 12th one , the previous entry is shown.
From the 13th contact , the contact entries are displayed correctly.

When I scroll back the screen, I have noticed that
the contact "Apt-Bajondillo..." has disappeared.
So there is a problem in the way that the contacts
are displayed.

I want to point out another fact :
Remember that to reproduce the problem we need to
follow all the steps. Notice the the step 4 :

"4- swith to contact application, and wait 10 seconds."

... because during these 10 seconds the display refreshes
once and I do not know why.
On the Aquaris 4.5 , the refresh occurs 4 or 5 seconds after.

It seems that a contact frame is missing. It is not the first
one because it contains the version of my contacts list.
The other 3 ones are contacts for testing purpose and there are here.

Tomorrow I'm going to make other tests to figure out if
an entry is lost.

Revision history for this message
Ren (ubuntech) wrote :

Another comment when scrolling the screen:
After a while, when scrolling and viewing details of
contacts, everything went ok.
I do not know what operation has put everything in order.

Revision history for this message
Ren (ubuntech) wrote :

More additional relating to the contact list
just when I am at step 4 (as numbered in bug description).

As Renato has pointed out, I confirm there is a display refresh occuring
 about 5-10 seconds after the contact list is displayed.
I made 2 screenshots before and after the screen refreshed.

Notice that in this case the first contact is not shown,
the name is : "A000-20160424"
During my tests I've noticed that it is not always
the first contact that fails.
Precision: I am making tests with a contacts book with more than ~1200 contacts.

Revision history for this message
Ren (ubuntech) wrote :

The problem is an important issue. Look at this:
I wanted to delete several private contacts to continue my testing and to make many screenshots easily.
I did so on the first page of the contacts list of course.
I selected 3 contacts to remove and the first time I did so, I realized that I have deleted some of the unwanted ones !
So, I decided to create many contacts specifically for testing purpose.
In fact, please, be careful when you delete one of your contacts in the first 16 ones.

Revision history for this message
Ren (ubuntech) wrote :

This problem has existed at least since OTA-9 .

Revision history for this message
Ren (ubuntech) wrote :

Precision and status with OTA-11: same problem in this version.

When you select a contact like it is described
I said that a screen refresh occurs soon after
entering in the contacts application.
On krillin the refresh occurs after about 5 seconds, and
I can see that the FIRST CONTACT disappears from the screen.

So the screen refresh is done with wrong data.
If the refreshing action has to be done here, then
it should include the first contact.

Revision history for this message
Ren (ubuntech) wrote :

I have reset the phone krillin to factory defaults, reloaded my contacts from a vcards file, the alarms, and the messages history etc...
After done, the problem yet exists with OTA-12 :

The first time you enter in the application "contacts", you will get the same result.

I have realized that the first AND the last contact names does not appear in the list, in stead of the only first one.

I can be quite sur it is not a missing frame painting. The problem is more general...
It is really a screen refresh problem with, I imagine, supplying some bad index data.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.