Closed
Bug 923467
Opened 11 years ago
Closed 11 years ago
contacts does not init visibility monitor with empty initial load
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: bkelly, Assigned: bkelly)
References
Details
(Whiteboard: [c= p=1 s= u=])
Attachments
(1 file)
While testing bug 902873 I saw that if I loaded the app with no contacts and then added one, that new contact would not have a selection box when exported. Investigation revealed that this was due to the visibility monitor not running. This occurs because the monitor is only created in notifyAboveTheFold() is called which only happens from loadChunk().
We need to notifyAboveTheFold() even when there are no contacts in the list.
Assignee | ||
Comment 1•11 years ago
|
||
This patch should guarantee that notifyAboveTheFold() and the monior initialization always occur.
Attachment #813539 -
Flags: review?(francisco.jordano)
Comment 3•11 years ago
|
||
Comment on attachment 813539 [details]
Pull request at https://github.com/mozilla-b2g/gaia/pull/12651
Thanks!
Attachment #813539 -
Flags: review?(francisco.jordano) → review+
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 5•11 years ago
|
||
Not reproducible, please re-cheek, renominate and add a screenshot if needed.
blocking-b2g: koi? → -
Assignee | ||
Comment 6•11 years ago
|
||
Once bug 902873 is uplifted this will be reproducible on v1.2 with the selection workflow.
Until that uplift happens I will have to back out the patch on master to demonstrate. Here is a video:
https://www.dropbox.com/s/llmigjy8h0y1imb/20131010_bug_923467.MOV
As you can see if you add a contact from an empty list and then try to export, you don't get any checkboxes while selecting.
There are probably also other subtle problems without this fix since the list code generally assumes the visibility monitor is always running.
blocking-b2g: - → koi?
Flags: needinfo?(dscravaglieri)
Comment 9•11 years ago
|
||
Uplifted 9d2e2ee00d5da034c473d7caf337c3eecc174bf9 to:
v1.2: 1f654f6cfd4eb8dc8658a02df34cbce20daf1c31
status-b2g-v1.2:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•