Closed Bug 903947 Opened 11 years ago Closed 11 years ago

[Messages] The last recipient is copied everytime when selecting recipeint for removing

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
minor

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
1.1 QE6
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: leo.bugzilla.gaia, Assigned: rwaldron)

Details

(Whiteboard: [TD-76432], [LeoVB+])

Attachments

(1 file)

1. Title: The last recipient is copied everytime when selecting recipeint for removing 2. Precondition: Add some contacts in the contact application 3. Tester's Action: Message -> New Message -> Add 2~3 contacts in To field -> Enter some text -> Select recipient in to field -> Click cancel in remove recipient contact 4. Detailed Symptom (ENG.) : The last contact is added again when selecting cancel button in remove recipient pop-up 5. Expected: The contact should not added when selecting cancel button 6. Reproducibility: Y 1) Frequency Rate : 100% 7. Gaia Master/v1-train: Reproduced on v1-train 8. Gaia Revision: c5e8358d753b8954de7b1a8c3e00944617aeec5e 9. Personal email id: sasikala.paruchuri8@gmail.com
blocking-b2g: --- → leo+
Whiteboard: [TD-76432]
Target Milestone: --- → 1.1 QE6
Hi, This issue will happen after adding the text in message field -> Go back to recipeint field and try removing the existing contact.
Hello Waldron, Can you please check this issue and provide a fix. There is one more Bug:903943.I think that both are related. Please take a look of both the issues. Reproducible steps: Drag the 'to field' if you drag it down once, then make it move it up, and then drag it down a second time, then it's 100% Thanks, Leo
Flags: needinfo?(waldron.rick)
Assignee: nobody → waldron.rick
Flags: needinfo?(waldron.rick)
- Clicks on accepted recipients... - while manually entering a recipient: - Two rendered recipients - A placeholder for the cursor - with only accepted recipients: - no changes, no assimilated recipients - with no placeholder at end of list: - no changes, no assimilated recipients This patch also fixes https://bugzilla.mozilla.org/show_bug.cgi?id=903943
Attachment #789050 - Flags: review?(sasikala.paruchuri8)
Attachment #789050 - Flags: review?(felash)
Attachment #789050 - Flags: feedback?
Hi, I have tested the patch available. I am not able to reproduce the above mentioned scenario. But there are some scenarios where the keyboard is not disappering 1.Add 2~3 contacts-> Enter text in message field->Drag down the 'to field'->Send the message Actual: Once the send button is pressed,the Keyboard is still shown in the thread_list Expected: The keyboard should disapper once the send button is pressed. 2.Add 2~3 contacts -> Enter one number manually -> select the entered number -> The number comes in to edit mode -> then select the added contact(recipient) Actual:After selecting the recipient,the keyboard is still shown in the recipient(remove,cancel) pop-up. Expected: The keyboard should disapper when the recipient is selected. Thanks,
About 2. I think we can fix it here. Let's jus focus the dialog that is shown (set tabIndex = -1 on the dialog container + call focus on it). About 1. we should blur from the recipient panel when we exit the #new mode. I think we could fix it here too but should this really block leo ?
Comment on attachment 789050 [details] [review] Github Pull Request https://github.com/mozilla-b2g/gaia/pull/11488 Added comments on github in addition to comment 5. I question the fact that we add a workaround in recipients.js while I think the fix should be in dialog.js (or maybe in both to prevent other bugs).
Filed bug 904640 for (In reply to Leo from comment #4) > 1.Add 2~3 contacts-> Enter text in message field->Drag down the 'to > field'->Send the message > Actual: Once the send button is pressed,the Keyboard is still shown in the > thread_list > Expected: The keyboard should disapper once the send button is pressed.
Summary: [SMS] The last recipient is copied everytime when selecting recipeint for removing → [Messages] The last recipient is copied everytime when selecting recipeint for removing
Updated fix outline: - Clicks on accepted recipients... - Should close the keyboard, if it's a known contact recipient - while manually entering a recipient: - Two rendered recipients - A placeholder for the cursor - with only accepted recipients: - no changes, no assimilated recipients - with no placeholder at end of list: - no changes, no assimilated recipients
Comment on attachment 789050 [details] [review] Github Pull Request https://github.com/mozilla-b2g/gaia/pull/11488 r=me with nits please check that the unit tests are passing before merging ! thanks !
Attachment #789050 - Flags: review?(sasikala.paruchuri8)
Attachment #789050 - Flags: review?(felash)
Attachment #789050 - Flags: review+
Attachment #789050 - Flags: feedback?
v1.1.0hd: 913bcdc9d859516133fca5560607e585011dd461
Whiteboard: [TD-76432] → [TD-76432], [LeoVB+]
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: