Open Bug 1901543 Opened 1 year ago Updated 1 year ago

`Open message in containing folder` misdirected, opens virtual folder

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

People

(Reporter: wsmwk, Unassigned)

Details

Create a virtual folder V that searches some portion of folder A, for example messages in the past 1 days.
Pick folder A, pick a message that is less than one day old, do open message in conversation, it opens in a new tab.
Right click the message in the tab, pick Open message in containing folder.

Expected results: In tab 1, the message in shown in folder A
Actual results: In tab 1, the message in shown in folder V

When "Open message in containing folder" is chosen, eventually selectMessage() is called. This function looks for the message in an already selected folder first, only if it is not found there, the originating folder is looked up from the nsIMsgHdr. Maybe we could extend this function by an optional parameter to bypass the first step. What do you think, Geoff?

Flags: needinfo?(geoff)

I think this would only happen if folder V is already the open folder in tab 1. As Hartmut says, we won't change folder unless the message isn't present in the current folder. (And I think I'd like to keep it that way.) Is that not the case?

Flags: needinfo?(geoff) → needinfo?(vseerror)

I may not have fully described what I am looking for.

I can't speak the implementation. But my expectation is I want to be presented with the source folder S which contains that message, because I don't know which folder it is, and/or I want to see that message in context with its friends. It's not relevant to me whether that folder S is or is not open in any tab, or that the message is in a virtual folder in any tab. I want the result to be that source folder S opens, not a virtual folder.

Flags: needinfo?(vseerror)

Happens prior to version 128?

Version: Thunderbird 128 → Thunderbird 115
You need to log in before you can comment on or make changes to this bug.