Closed Bug 1135905 Opened 11 years ago Closed 8 years ago

[Contacts] Contact app search function is not eliminating non-matches correctly and functioning inconsistently with other search functions on device.

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:backlog, b2g-v2.0 unaffected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v2.0 --- unaffected
b2g-v2.1 --- affected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: jmitchell, Unassigned)

References

()

Details

(Keywords: regression, Whiteboard: [3.0-Daily-Testing])

Attachments

(1 file)

Description: It seems that the 'spacebar' / 'space' character is not being respected as a parameter of the search function. If a user types a combo of letters that match the middle of a contact is is returned as a viable result but then when they add space the result should be removed as it no longer matches. Example: Contact is 'Captain Picard'; when the search includes 'ica' Picard is a viable result but then adding space to be 'ica_' Picard is no longer a viable result, only words ENDING in 'ica' Additionally when a space is added, the character(s) following it act like a nested level of search and not in conjunction with the first search word, Example: searching 'ica apt' will still show the Captain Picard result even though the user would only expect a match from something with a word ending in ICA and then a subsequent word beginning with APT. This can be continued with more spaces and partially matching letters such as 'ica apt in r' will still return the Captain Picard contact. This is in contrast to how the Music app search functions which is what I believe users will be expecting from a search function. Repro Steps: 1) Update a Flame to 20150223010224 2) Launch Contact App 3) Create a contact with First Name: 'Test' Last Name: 'Contact' 4) Scroll up and tap the search bar (for Contacts) 5) type in 'te' and note that Test Contact appears in the search results 6) hit the spacebar on the keyboard and note that Test Contact is still there *A 7) hit the 'a' key on the keyboard and note that test contact is still there *B 8) hit backspace to erase the letter 'a' and add the letter 'e' instead *C Actual: Test Contact is not removed from the search results Expected: *A - With the inclusion of the space (spacebar) Test Contact will be eliminated as a viable result because there is no result with 'TE' followed by a space *B - When the letter A is added it is expected the Test Contact will be eliminated as it does not contain a word ending in TE followed by a word starting with A *C - When the letter E is swapped for the letter A it is expected that Test Contact will be eliminated as a result Environmental Variables: Device: Flame 3.0 Build ID: 20150223010224 Gaia: a6881205deae450757a8d1e1ed65e5e5be0ec633 Gecko: 86d2bb8bb1c9 Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 38.0a1 (3.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0 Repro frequency: 6/6 See attached: logcat, video: http://youtu.be/rImfqDvHNPk
This issue also reproduces in Flame 2.2 and Flame 2.1 Device: Flame 2.2 (KK - Nightly - Full Flash - 319mem) Build ID: 20150223002503 Gaia: 389542b71c89253c0d176d3b0bfb54e275c19bf1 Gecko: 9fd3441c8983 Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 37.0a2 (2.2) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 Device: Flame 2.1 (KK - Nightly - Full Flash - 319mem) Build ID: 20150223001204 Gaia: 88c44f2243a5ca1683587aca9faf29023974b96c Gecko: efd5205ec813 Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 34.0 (2.1) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 ------------------------------------------------------------------------------------------------ This issue does NOT reproduce in 2.0 Actual Results: Once space bar is hit and another letter typed, if the contact does not implicitly match what is written it is eliminated from the search. Device: Flame 2.0 (KK - Nightly - Full Flash - 319mem) Device: Flame 2.0 Build ID: 20150223000222 Gaia: 366aaa19ac474dc58b79d62a91cff41756ae9dfe Gecko: 611444d72a92 Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 32.0 (2.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage?]
Keywords: regression
Flags: needinfo?(pbylenga)
NI on component owner for nomination decision and assignment, it's a regression but 2.1 is affected.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga) → needinfo?(jlorenzo)
Might be due to bug 1088706. QA wanted to check a build before and a build after bug 1088706 landed. I don't know if we could block on this behavior. Carrie, do you think the search bar is confusing, here?
Flags: needinfo?(jlorenzo) → needinfo?(cawang)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage+]
QA Contact: pcheng
The patch for bug 1088706 caused it to look like current behavior in Central. But builds BEFORE 1088706 landed weren't working as expected either - they exhibit bug 1092559 and they're also NOT eliminating contacts that don't match what's being typed, so they're actually worse than current behavior.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
I think this is more engineering issue? I don't think I'm the right person to answer the question. I'd say we shall follow the rule in other search fields of the whole system. Can you redirect to other people? thanks!
Flags: needinfo?(cawang) → needinfo?(jlorenzo)
Do we have some specs about the seach field? Like in webcomponents? QA wanted to check the behavior of the search field in Email and Music.
Flags: needinfo?(jlorenzo)
Keywords: qawanted
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #6) > QA wanted to check the behavior of the search field in Email and Music. Both Email and Music apps behave as expected behavior A on comment 0: *A - With the inclusion of the space (spacebar) Test Contact will be eliminated as a viable result because there is no result with 'TE' followed by a space. So Contacts app is the only app having this issue. Tested on: Device: Flame 3.0 Master (full flash 319MB) BuildID: 20150309010232 Gaia: fea83511df9ccba64259346bc02ebf2c417a12c2 Gecko: eab4a81e4457 Gonk: e7c90613521145db090dd24147afd5ceb5703190 Version: 39.0a1 (3.0 Master) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Can we add this bug to our backlog?
Flags: needinfo?(whuang)
Yes. I actually want everyone in the team to be able to adjust the backlog. (drivers can prioritize with blocking-b2g:x.x+, feature-b2g:x.x+, and tracking-b2g:+) People do backlog grooming but we just don't have the same way to reflect it through bugzilla project flags. After Bug 1141452 is done, flags will be a little different. Refer to: https://wiki.mozilla.org/B2G/Triage#Project_Flags
blocking-b2g: --- → backlog
Flags: needinfo?(whuang)
blocking-b2g: backlog → ---
Priority: -- → P3
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: