Closed Bug 1949002 Opened 1 year ago Closed 1 year ago

Selected message is deselected when clearing the quick filter search field

Categories

(Thunderbird :: Untriaged, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1906500

People

(Reporter: kroylar, Unassigned)

Details

Steps to reproduce:

Enable the Quick Filter, type a search term, and select a message. Now close the Quick Filter or clear the text field.

Actual results:

The previously selected message is no longer selected in the message list pane, even though it's contents are still displayed in the message pane.

Expected results:

The message should remain selected in the message list pane.

I'm not sure that I'm seeing the same behavior. I'm using dark mode. On 128.7.1esr I can select message(s) in quick search and they are highlighted with orange. If I clear the text field, they remain selected. However, they are now highlighted with gray.

Thanks for quickly checking this Corey. I'm sorry for not provided the correct information. The folder that I'm using quick filter with is a Saved Search folder. And that is where the problem occurs. If I try with my inbox, it behaves as you describe.

This problem is relatively new. Using quick filter with my "Combined" saved search folder (which combines Inbox and Sent), used to behave as you describe, but now behaves as I described. I'm not sure exactly when the behavior changed.

I just tested this with another Saved Search folder that only contains 1 folder. This also causes the problem. It seems the message list remembering what was selected after clearing the quick filter doesn't work for any Saved Search folders.

Hmm, still not able to recreate with a saved search folder that filters from multiple folders, selecting multiple emails including different source folders with quick search, they're still selected when I clear the search.

Can you share more specific details on how to recreate?

Ok. Just to make sure we're talking about the same thing I'll explain my steps to recreate the bug.

  1. Right click on your account in the folder side pane.
  2. Click on the "Search Messages..." option.
  3. At the bottom of the new "Search Messages" window, click on "Save as Search Folder".
  4. Fill in a Name (ie, Test).
  5. Click "Choose".
  6. Deselect all folders except one (ie Inbox).
  7. Change the "Configure the search criteria used for this saved search folder:" option to "Match all messages"
  8. Click "Create"
  9. Close the previously opened "Search Messages" window.
  10. From the folder list pane, select your new saved search.
  11. Open the quick filter pane, and enter a search term that ends up displaying some messages. (ie, not a random term that no messages match).
  12. Click one of the filtered messages. Now its contents should be displayed in the Message View pane. And you should be able to use the keyboard up and down arrows to select the filtered message before or after.
  13. Click the "Clear Text Field" button in the Quick Filter pane.

The end result is that the previously selected message is still displayed in the Message View pane, but is no longer selected in the Message List pane. If I try to use the arrow keys to look at messages either before or after it, the selection jumps to the latest message.

Kameron, thank you for your detailed steps to reproduce. This is actually a duplicate of Bug 1906500, which unfortunately hasn't been fixed in ESR 128 (by uplifting Bug 1903910). Seems you have to wait for the next major ESR release, or switch to monthly release 136, which will be out soon…

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1906500
Resolution: --- → DUPLICATE

By the way, you could also try to just set the view to unthreaded, it should work as expected then.

You need to log in before you can comment on or make changes to this bug.