Closed Bug 826839 Opened 13 years ago Closed 13 years ago

[B2G][Dialer] Add Contact button is active but non-functional after making a call and hanging up.

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g18+ verified)

VERIFIED FIXED
blocking-b2g -
Tracking Status
b2g18 + verified

People

(Reporter: croesch, Assigned: mihai)

Details

Attachments

(1 file, 1 external file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0 Build ID: 20121128204232 Steps to reproduce: 1. Launch Unagi build 20130104070203 Version 18.0 2. Launch the Dialer. 3. Notice the Add Contact button is not available for use. 4. Enter numbers into the dialer. 5. Notice that the Add Contact button is now Available for use. 6. Tap the green call button to call. 7. Tap the red Hang Up button. 8. Notice there are no numbers in the dialer now but that the Add Contact still appears available for use. 9. Tapping on this button provides no functionality. Repro Rate: 5/5 Actual results: The Dialer app has an Add to Contact button that is showing up as available for use when it should not be. Expected results: If no numbers are entered into the Dialer, there should not be a Add to Contact button available.
Component: General → Gaia::Dialer
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Unagi build: 20130304070201 Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/c11d91e1b575 Gaia d90ee5a412116f4f1f2e43b6c60700de5923513e Kernal: Dec 5th This bug happens exactly as it's described above. Add contact button remains active but nonfunctional.
blocking-b2g: --- → leo?
triage: blocking- It would be better to disable the button when there is no phone number to add to contact, but we won't block on this.
blocking-b2g: leo? → -
tracking-b2g18: --- → +
Restructured the code for updating the status (i.e. 'disabled') of the Add Contact button from the dialer so that it is linked with the Delete (digit) button's visibility update procedure. The remaining redundant method (updateAddContactStatus) was removed since it is not used by any other method and its only purpose was to update the status of the Add Contact button.
Attachment #727661 - Flags: review?(etienne)
Comment on attachment 727661 [details] [review] Github Pull Request #8740 - Fix Add Contact btn visibility sweet and simple :)
Attachment #727661 - Flags: review?(etienne) → review+
(In reply to Etienne Segonzac (:etienne) from comment #5) > Comment on attachment 727661 [details] [review] > Github Pull Request #8740 - Fix Add Contact btn visibility > > sweet and simple :) Thanks Etienne :) can you land this for me on master?
(In reply to Mihai Cirlanaru [:mcirlanaru] from comment #6) > Thanks Etienne :) can you land this for me on master? Please amend the commit message with "r=etienne" and ping me, I'll press the big green button :)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment on attachment 727661 [details] [review] Github Pull Request #8740 - Fix Add Contact btn visibility 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 #): Dialer/Keypad User impact if declined: Normal->Medium (bug reproducible in common use cases) Testing completed: Yes Risk to taking this patch (and alternatives if risky): Low/None String or UUID changes made by this patch: No
Attachment #727661 - Flags: approval-mozilla-b2g18?
Assignee: nobody → mihai
Comment on attachment 727661 [details] [review] Github Pull Request #8740 - Fix Add Contact btn visibility 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 #): Dialer/Keypad User impact if declined: Normal->Medium (bug reproducible in common use cases) Testing completed: Yes Risk to taking this patch (and alternatives if risky): Low/None String or UUID changes made by this patch: No
Attachment #727661 - Flags: approval-gaia-v1?
Attachment #727661 - Flags: approval-mozilla-b2g18?
Attachment #727661 - Flags: approval-gaia-v1?
Attachment #727661 - Flags: approval-gaia-v1+
Uplifted commit c64e560964082d5fc1559792a67e079a8bde5c93 as: v1-train: 511886db75f2ea7b5746f3109ca177cd4758d5fb
Status: RESOLVED → VERIFIED
V1.1 Unagi Build: 20130405070205 Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/1d4c7fe3256e Gaia 2f64311e0f23b85c29b20be9502cbdeaee8342ae Kernel: Dec 5th
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: