mail icon indicating copy to clipboard operation
mail copied to clipboard

Unread messages that are part of a conversation are counted as unread but not marked as unread

Open LostinSpacetime opened this issue 2 years ago • 5 comments

Steps to reproduce

  1. Write a message from another address to you and another recipient.
  2. The other recipient answers to your address.
  3. Now you have two unread messages in your inbox, that are shown as one message (the last one), since both are part of a conversation.
  4. Click on the message.
  5. You see the last message and the dot marking unread messages disappears.
  6. Click on another message in your inbox.

Expected behavior

There should be an indicator in the message list, that there are still unread messages in a conversation.

Actual behavior

The counter for unread messages shows 1, but there is no blue dot in the message list.

Mail app version

2.2.2

Mailserver or service

No response

Operating system

Ubuntu 18.04

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MariaDB

Additional info

A workaround to this situation is to filter the message list for unread messages. This is working sometimes, but not always. I still have to find out how to reproduce, and then I'll file a bug report.

At some point, the app changed from showing unread messages bold, to marking them with a blue dot. It would much more consistent, if the blue dot would be used in the conversation view as well.

It would be fantastic for conversations, to show the number of unread messages in the blue dot.

Thank you for your work! The app got so much better lately. :)

LostinSpacetime avatar Feb 05 '23 08:02 LostinSpacetime

It would be fantastic for conversations, to show the number of unread messages in the blue dot.

The challenge is the database structure. We already need a self join on the messages cache to get converstations. Also checking for unread messages within a thread or showing a counter adds more database complexity and load. It's possible but I have not yet found an efficient way.

ChristophWurst avatar Feb 06 '23 07:02 ChristophWurst

The counter would be nice, but having the conversation marked with the blue dot as long as there are unread messages within, is quite necessary. With high email traffic, it's quite impossible to find those “hidden” unread messages. @ChristophWurst Is this more doable than the counter? Otherwise, would it be possible to have an option to disable conversations?

LostinSpacetime avatar Feb 06 '23 08:02 LostinSpacetime

Counter and summarized unread marker are equally complex.

ChristophWurst avatar Feb 06 '23 08:02 ChristophWurst

Will this problem be solved? It makes using email very difficult, you can't search for unread emails that are in threads. And it still shows as unread.

piotrsz0772 avatar May 21 '25 07:05 piotrsz0772

The report is reproducible. This is ready to be picked up. Are you interested @piotrsz0772?

ChristophWurst avatar May 21 '25 08:05 ChristophWurst