Closed Bug 1551973 Opened 6 years ago Closed 6 years ago

[regression] Reply replies to wrong email, if new message arrived in the meantime (folder changed)

Categories

(Thunderbird :: Message Reader UI, defect)

Desktop
All
defect
Not set
blocker

Tracking

(thunderbird66 wontfix, thunderbird67 wontfix, thunderbird68? affected)

VERIFIED DUPLICATE of bug 1518823
Thunderbird 68.0
Tracking Status
thunderbird66 --- wontfix
thunderbird67 --- wontfix
thunderbird68 ? affected

People

(Reporter: BenB, Unassigned)

Details

(Keywords: regression)

Reproduction:

  • Open a message in a standalone message window
  • Read the message
  • While you read the message, another message comes into the folder, at the top. E.g. a new message arrived in your inbox. You don't touch the message, or do anything with it, it just arrives in the background.
  • Click Reply (in your message reader window)

Actual result:
You get a composer with a reply to the next message, not the one you were reading and where you clicked Reply

Expected result:
You get a composer with a reply to the same message that you are reading.

Importance:
This is a massive interruption in the normal email workflow. If "Reply" doesn't work correctly, just because another message arrived, that's a core feature of the mail program not working correctly and therefore a major bug that needs to be fixed before shipping.

Target Milestone: --- → Thunderbird 68.0
Version: unspecified → 68
Summary: Reply replies to wrong email, if folder changed → Reply replies to wrong email, if new message arrived in the meantime (folder changed)

This is a regression. I've started seeing that bug only in the last 1-2 months or so.

In the reproduction, I forgot to mention that I have a "newest on top" sort order of my thread pane. That might be relevant to the bug.

This is I think the cause of the bug is that the mail reader window keeps the wrong reference to the mail. It probably keeps an index into the message list (thread pane). Once the list of messages changes, the index of course points to another message. That's an inherent problem - you cannot use an index in this case. You need to keep a reference to the original message object.

Keywords: regression
Summary: Reply replies to wrong email, if new message arrived in the meantime (folder changed) → [regression] Reply replies to wrong email, if new message arrived in the meantime (folder changed)

Ah, some more fallout from bug 1518823. Please poke Magnus to prioritise that tree work in bug 1518823.

Thanks, Alice, very helpful.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE

VERIFIED FIXED by bug 1518823. Thanks!

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.