After deleting contact from search results in contacts sidebar, entire result set disappears
Categories
(Thunderbird :: Address Book, defect)
Tracking
(thunderbird_esr78 fixed, thunderbird79 fixed)
People
(Reporter: thomas8, Assigned: darktrojan)
References
(Regression)
Details
(Keywords: regression, ux-mode-error)
Attachments
(1 file)
1.51 KB,
patch
|
rjl
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1619157 +++
STR
- composition with contacts side bar, ensure "All Address Books" is shown
- Filter for "Doe" so that you get a couple of matches in the search result
- select and delete a contact from search result (contact originates from "Personal AB")
- press DEL and confirm deletion, then monitor the rest of your result set in results pane
- Try other variants:
- delete contact from "All Address Books" without search filter
- delete contact from "Personal AB" with and without search filter
- try all variants with deleting a mailing list
Actual result
- deleting contact from search result of "All ABs" succeeds, but makes the entire result set disappear (blank results pane)
- deleting contact from unfiltered "Personal AB" ends up with a bogus icon-only item at the end of the list which cannot be deleted.
- deleting mailing list sometimes failed
Expected:
- delete/remove only selected items
- keep showing any other items (of result set, or current AB)
- handle focus after deletion
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Before the regression window:
#1 if last item is deleted in the sidebar list, a blank item is remained.
#2 if middle item is deleted in the sidebar list, last item is visually duplicated.
After the regression window:
All items disappear in the sidebar list.
Regression window:
https://hg.mozilla.org/comm-central/pushloghtml?fromchange=c5def570bb4b97b043bf35eda9df5f08fe996109&tochange=96995bd8f55c685952d95b51fdb1c0a8f10c05a9
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ead8f0367372fe5767d33a0aa0a95b07ee76ea75&tochange=19e273db80195cc5de59647fcaf16bafad9bbcce
Suspect: Bug 1636019
Reporter | ||
Comment 2•4 years ago
|
||
Thank you Alice!!
So we can remove regressionwindow-wanted because you found it.
Together with similar bug 1644026, that makes contacts side bar quite broken...
Reporter | ||
Comment 3•4 years ago
|
||
Geoff, from your experience in Bug 1639750, any insights here?
Assignee | ||
Comment 4•4 years ago
|
||
This call to SetABView()
is bogus, we should never call that without arguments. Fortunately all of this block of code is redundant because ABView.deleteSelectedCards
does the same thing.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/926e7403d2a8
Remove redundant code for deleting contacts. r=rjl
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Assignee | ||
Comment 8•4 years ago
|
||
bugherder uplift |
Thunderbird 79.0b1:
https://hg.mozilla.org/releases/comm-beta/rev/c311f8f7c4a8
Assignee | ||
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
bugherder uplift |
Thunderbird 78.0.1:
https://hg.mozilla.org/releases/comm-esr78/rev/2d38f5830c8a
Description
•