Launchpad has imported 11 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1318405.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2016-11-17T18:12:40+00:00 Jik-l wrote:

(Pretty sure this is still a bug on the trunk, but reporting it against
45 because that's where I verified it today.)

1. Open the address book.

2. Do a search to limit which contacts are displayed.

3. Click on one of them, click the Delete button to delete it, and
confirm the delete.

4. Observe that your search term remains in the search box, but the
contact list has reset to everyone rather than to the contacts that
match the search.

The ideal behavior here would be for the search to persist properly
after the delete, i.e., the contact list would continue to list only the
contacts matching the search. Less ideal, but better than current
behavior, would be for the search box to be cleared after a delete. The
current behavior, where the search box remains filled in but is no
longer being applied, is clearly wrong.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/2

------------------------------------------------------------------------
On 2016-11-19T15:51:44+00:00 Acelists wrote:

I can't reproduce this, neither in 45 nor trunk.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/3

------------------------------------------------------------------------
On 2016-11-20T19:44:24+00:00 Jik-l wrote:

I just reproduced this in safe mode with daily (2016-11-18).

Do you have multiple address books? It is possible that this issue only
occurs when there are multiple address books and you're searching /
filtering in "All Address Books" rather than just one of them.

Indeed, I just tested while a single address book rather than "All
Address Books" is selected, and it doesn't happen then.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/4

------------------------------------------------------------------------
On 2016-11-20T20:01:05+00:00 Jorg K wrote:

I can reproduce this in Daily. Multiple address books present. Click
"All Address Books", search, delete. Result: Contact deleted, all
contacts showing, but search term not cleared.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/5

------------------------------------------------------------------------
On 2017-01-10T18:48:54+00:00 Massimiliano Caniparoli wrote:

I can reproduce it on 50.0b3 as well.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/6

------------------------------------------------------------------------
On 2017-01-12T20:41:25+00:00 Acelists wrote:

We take different code paths depending on whether the All ABs item is
selected or not.

I'd try removing the SetAbView call at
https://dxr.mozilla.org/comm-central/rev/4eeb3f3d3ec60193f6c908170a202c20b649f390/mail/components/addrbook/content/abCommon.js#380
 . It looses the seachURI string and shows full "All addressbooks" item without 
any search applied (compare with 
https://dxr.mozilla.org/comm-central/rev/4eeb3f3d3ec60193f6c908170a202c20b649f390/mail/components/addrbook/content/addressbook.js#540).

Thomas, can you try that?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/7

------------------------------------------------------------------------
On 2017-01-12T22:34:59+00:00 Bugzilla2007 wrote:

(In reply to :aceman from comment #5)
> We take different code paths depending on whether the All ABs item is
> selected or not.
> 
> I'd try removing the SetAbView call [...]
> Thomas, can you try that?

Sure. Just removing the call keeps the searchword and search applied,
but unfortunately the deleted entry doesn't disappear from view
(although it looses the addressbook attribute, interesting...)

So after deleting from All-AB, we'd have to update the search, similar
to that other spot which you referenced.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/8

------------------------------------------------------------------------
On 2017-01-13T07:19:41+00:00 Bugzilla2007 wrote:

Note that we actually want to select the next item after deleting, or,
of there's no next item, the previous item (i.e. the last item). Or
nothing if it was the only item.

Surprisingly, just using the onEnterInSearchBar() routine will select
another AB after deleting.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/9

------------------------------------------------------------------------
On 2018-02-16T18:49:39+00:00 G0eg wrote:

Behavior present on 52.6.0.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/10

------------------------------------------------------------------------
On 2019-02-09T15:59:28+00:00 Vseerror wrote:

*** Bug 1520450 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/37

------------------------------------------------------------------------
On 2019-02-09T15:59:53+00:00 Vseerror wrote:

*** Bug 1202837 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1514161/comments/38


** Changed in: thunderbird
       Status: Unknown => Confirmed

** Changed in: thunderbird
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1514161

Title:
  Address Book search loses filter when multiple entries found and one
  is deleted

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1514161/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to