Closed Bug 1116959 Opened 9 years ago Closed 9 years ago

Removing search terms blanks out results list in address book quick search and contacts side bar search

Categories

(MailNews Core :: Address Book, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 37.0

People

(Reporter: thomas8, Assigned: sshagarwal)

Details

(Keywords: regression)

Attachments

(1 file)

STR

1 in AB quicksearch or contacts side bar, of an AB having contacts "John Doe" and "Jane Doe", search for "John"
2 Remove search terms

Actual result
after 1), correctly showing matching contacts ("John Doe")
after 2), wrongly showing no results at all (blank results pane)

Expected result
After clearing search filter terms, all contacts of respective AB must be shown immediately("John Doe" and "Jane Doe")

For all practical UX purposes, this breaks the main AB quick search and contacts side bar entirely because we can't expect users to click back and forth between ABs each time after clearing search terms -> critical

I think this is pretty new -> regression.
I'm quite sure this was still working some weeks ago, or even days.
Seen on 37.0a1 (2014-12-30)/ WinXP.
If anyone else sees this, pls confirm
Attached patch Patch v1Splinter Review
Even if there are no search terms (blank search box),
the queryURI is being formed and hence, SetAbView isn't
able to display all the cards from the selected AB.

Thanks.
Assignee: nobody → syshagarwal
Status: NEW → ASSIGNED
Attachment #8543153 - Flags: review?(mkmelin+mozilla)
Comment on attachment 8543153 [details] [diff] [review]
Patch v1

Review of attachment 8543153 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM, thx Suyash! r=mkmelin
Attachment #8543153 - Flags: review?(mkmelin+mozilla) → review+
Severity: critical → normal
OS: Windows XP → All
Hardware: x86 → All
Thanks.
Keywords: checkin-needed
I believe this bug should have a test in the test suite, it should never have occured in the first place.
http://hg.mozilla.org/comm-central/rev/2944600ee1ef
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 37.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: