Closed
Bug 847866
Opened 11 years ago
Closed 11 years ago
[Dialer] Avoid race conditions in overlays
Categories
(Firefox OS Graveyard :: Gaia::Dialer, defect)
Tracking
(b2g18+ fixed)
RESOLVED
FIXED
People
(Reporter: gtorodelvalle, Assigned: gtorodelvalle)
References
Details
Attachments
(1 file)
283 bytes,
text/html
|
etienne
:
review+
lsblakk
:
approval-gaia-v1+
|
Details |
The current libraries used to show overlays in the Communications app may suffer for race conditions (if the overlay is hidden before the animation to show it has completed, for example) and do not support re-showing an already shown overlay (for example to change the message shown).
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gtorodelvalle
Assignee | ||
Comment 1•11 years ago
|
||
The affected files are: - https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/js/confirm_dialog.js - https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/js/utilities/overlay.js
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #721641 -
Flags: review?(etienne)
Comment 3•11 years ago
|
||
Comment on attachment 721641 [details]
Associated PR.
Comments on github, can't wait to play with the updated, rebased and linted version ;)
Attachment #721641 -
Flags: review?(etienne)
Assignee | ||
Comment 4•11 years ago
|
||
Comments included in the PR ;-) Would you be so kind to review them? Thanks!
Updated•11 years ago
|
Attachment #721641 -
Flags: review+
Assignee | ||
Comment 5•11 years ago
|
||
Merged! ;-)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
Should this be tracking-b2g18 so that it could land in v1.1 ?
Assignee | ||
Comment 7•11 years ago
|
||
It should ;-) In fact, I was about to ask for the approval-gaia-v1 :)
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 721641 [details] Associated PR. NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): Uncomplete management of overlay messages in the Comms app User impact if declined: Comms app may become unusable Testing completed: Tested in the device Risk to taking this patch (and alternatives if risky): Low risk as a consequence of heavy testing in the device String or UUID changes made by this patch: None Additional info: 2 changed files with 196 additions and 104 deletions.
Attachment #721641 -
Flags: approval-gaia-v1?
Assignee | ||
Updated•11 years ago
|
tracking-b2g18:
--- → ?
Updated•11 years ago
|
status-b2g18:
--- → affected
Comment 9•11 years ago
|
||
Comment on attachment 721641 [details]
Associated PR.
Looks like a low risk win for email performance, approving for uplift.
Attachment #721641 -
Flags: approval-gaia-v1? → approval-gaia-v1+
Comment 10•11 years ago
|
||
I was not able to uplift this bug to v1-train. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with: git checkout v1-train git cherry-pick -x -m1 3444dd7ff1467e7b09e4c0bc3185a46f0a20b188 <RESOLVE MERGE CONFLICTS> git commit
Flags: needinfo?(gtorodelvalle)
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to John Ford [:jhford] from comment #10) > I was not able to uplift this bug to v1-train. If this bug has dependencies > which are not marked in this bug, please comment on this bug. If this bug > depends on patches that aren't approved for v1-train, we need to re-evaluate > the approval. Otherwise, if this is just a merge conflict, you might be > able to resolve it with: > > git checkout v1-train > git cherry-pick -x -m1 3444dd7ff1467e7b09e4c0bc3185a46f0a20b188 > <RESOLVE MERGE CONFLICTS> > git commit Hi John ;-) This bug and patch solves cases not previously considered in bug 816941 (this one inclues 2 patches).
Flags: needinfo?(gtorodelvalle)
Assignee | ||
Comment 12•11 years ago
|
||
BTW, I am solving the conflicts, John ;-) I have started with bug 816941
Assignee | ||
Comment 13•11 years ago
|
||
Hi John, again ;-) Conflicts should be solved and successfully landed in v1-train :-) Would you be so kind to confirm it? Thanks!
Flags: needinfo?(jhford)
Comment 14•11 years ago
|
||
Could you please add the commit hash here ? thanks
Updated•11 years ago
|
Flags: needinfo?(gtorodelvalle)
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 15•11 years ago
|
||
After cherry-picking: https://github.com/mozilla-b2g/gaia/commit/2da00a8972b1155df722f6914f3de6eb06d719d0
Flags: needinfo?(gtorodelvalle)
Comment 16•11 years ago
|
||
That looks reasonable, but I'm not the expert on what these changes do and how they fit in with the rest of the v1-train branch.
Flags: needinfo?(jhford)
Comment 17•11 years ago
|
||
gtorodelvalle> the easiest to check if this is ok is you pushing the v1-train version on your device and testing this specific bug :)
Assignee | ||
Comment 18•11 years ago
|
||
Yeah, yeah, I mean I did that (the testing in the device :-D) Just wanted to let John have the last word about my cherry-picking ;-) I am 100% confident about it, and of course it works in the device ;-)
You need to log in
before you can comment on or make changes to this bug.
Description
•