Closed
Bug 984920
Opened 11 years ago
Closed 10 years ago
Flash of phone numbers when going from a thread to the list of threads
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Firefox OS Graveyard
Gaia::SMS
Tracking
(b2g-v1.4 affected)
RESOLVED
DUPLICATE
of bug 881469
Tracking | Status | |
---|---|---|
b2g-v1.4 | --- | affected |
People
(Reporter: rik, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
audio/ogg
|
Details |
Every time I go from a thread to the list of the threads, I see contact names, then a flash of the raw phone number and then the contact names come back.
It feels really sluggish.
Vivien is seeing that too. We think it might be related to Drafts but we haven't checked that.
Adding qawanted to see if we can find more reliable STRs
Comment 1•11 years ago
|
||
I am having trouble reproducing this bug, can you provide some more info please?
What device/version/build# are you using?
How many contacts/texts are stored on the device? Are there multiple lengthy threads or just a few short threads, etc.
If possible, a video of the issue occurring would be helpful.
Flags: needinfo?(anthony)
Reporter | ||
Updated•11 years ago
|
Group: mozilla-employee-confidential
Flags: needinfo?(anthony)
Reporter | ||
Comment 2•11 years ago
|
||
I used the debugger to get a stack when this appears:
thlui_setContact@app://sms.gaiamobile.org/gaia_build_defer_index.js:415:2102
thlui_appendThread@app://sms.gaiamobile.org/gaia_build_defer_index.js:448:36
thlui_updateThread@app://sms.gaiamobile.org/gaia_build_defer_index.js:447:1
thlui_renderDrafts/</<@app://sms.gaiamobile.org/gaia_build_defer_index.js:432:432
exports.Drafts.forEach/<@app://sms.gaiamobile.org/gaia_build_defer_index.js:301:94
exports.Drafts.forEach@app://sms.gaiamobile.org/gaia_build_defer_index.js:301:1
thlui_renderDrafts/<@app://sms.gaiamobile.org/gaia_build_defer_index.js:432:321
handler@app://sms.gaiamobile.org/gaia_build_defer_index.js:301:481
exports.Drafts.request/<@app://sms.gaiamobile.org/gaia_build_defer_index.js:302:36
As suspected, it is because of threads.
Comment 3•11 years ago
|
||
Reading the code, I suspect this happens because Anthony has some leftover drafts from a previous version. This should not happen in current versions. I'm still not sure of this though, I'd like to investigate directly with Anthony.
This also happens because our updateThread method is quite dumb: it (nearly) always removes the previous thread and adds a new one. We could try to update the thread without removing it, and only if necessary. This is not _that_ easy because a lot of parameters make a thread.
Updated•11 years ago
|
Attachment #8396491 -
Attachment is private: true
Updated•11 years ago
|
Group: mozilla-employee-confidential
Comment 4•11 years ago
|
||
Repro Steps:
1) Updated Buri to BuildID: 20140415000202
2)
3)
4)
Environmental Variables:
Device: Buri v1.4 MOZ ril
BuildID: 20140415000202
Gaia: c8f916c8569f6ee652237fd10ac925e08cd3d9bc
Gecko: f14047fa8d63
Version: 30.0a2
RIL Version:
Firmware Version: v1.2-device.cfg
Notes:
Repro frequency: 100%
See attached: Video
QA Contact: rpribble
Comment 5•11 years ago
|
||
(Disregard previous post, hit save by mistake. Apologies.)
I am unable to reproduce this issue following the initially described method on the Buri v1.4 MOZ ril, however I do see what I believe is the issue when the sms app is launched for the first time. I am unsure if this is the correct issue being described in the initial post? Some more information as requested in comment 1 would help to clarify.
Repro Steps:
Prerequisites- Have multiple sms thread histories with numerous saved contacts in the sms app already.
1) Updated Buri to BuildID: 20140415000202
2) Tap on the sms icon
3) Observe the threads display with raw phone numbers momentarily before changing to the names of saved contacts instead
4) Force close sms app and repeat steps 2-3 to see issue again
The user sees a flash of raw phone numbers being displayed as the contact names in thread histories momentarily before the numbers change to the correct user names. Contact names appear appropriately in the thread list after the initial launch and when tapping back from an individual thread.
Environmental Variables:
Device: Buri v1.4 MOZ ril
BuildID: 20140415000202
Gaia: c8f916c8569f6ee652237fd10ac925e08cd3d9bc
Gecko: f14047fa8d63
Version: 30.0a2
Firmware Version: v1.2-device.cfg
Repro frequency: 100%
See attached: Video
Updated•11 years ago
|
status-b2g-v1.4:
--- → affected
Keywords: qawanted
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Wasn't sure if you still needed this, but just in case..
The issue mentioned in comment 8 also occurs on the Buri v1.3 MOZ ril.
Environmental Variables:
Device: Buri v1.3 MOZ ril
BuildID: 20140416004000
Gaia: 11d027ec28d8e8f09c76b35661222499e124abc8
Gecko: ab227cdd984c
Version: 28.0
Firmware Version: v1.2-device.cfg
Contact names are updated much more quickly than on the Buri v1.4 MOZ ril, but the issue does still occur, along with the issue described in bug 907740.
Keywords: qawanted
Comment 9•11 years ago
|
||
Maybe the Facebook datastore makes 1.4 slower in that regard, thanks Rachel !
Comment 11•10 years ago
|
||
Rik, can you comment whether this is fixed on master now?
Flags: needinfo?(anthony)
Reporter | ||
Comment 12•10 years ago
|
||
Since Geeksphone is not providing new nightlies, I'm living on an old master. So keeping the needinfo until I update to a newer master or dogfood on another device.
Flags: needinfo?(anthony)
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(anthony)
Comment 13•10 years ago
|
||
Gonna mark this as fixed by bug 881469, please reopen if you still see it.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 14•10 years ago
|
||
Finally updated and I can't reproduce. Good work!
http://ricaud.me/images/success-2.gif
Flags: needinfo?(anthony)
Comment 15•10 years ago
|
||
Also, note that we can do a v1.4 specific patch if needed.
You need to log in
before you can comment on or make changes to this bug.
Description
•