After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 713319 - Geary sometimes fails to group related messages into a single conversation
Geary sometimes fails to group related messages into a single conversation
Product: geary
Classification: Other
Component: conversations
Other All
: High normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
: 742568 791844 (view as bug list)
Depends on:
Blocks: 713613 791844
Reported: 2012-04-20 11:57 UTC by Jim Nelson
Modified: 2021-07-05 13:25 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Charles Lindsay 2013-11-21 20:20:06 UTC

---- Reported by 2012-04-20 16:57:00 -0700 ----

Original Redmine bug id: 5096
Original URL:
Searchable id: yorba-bug-5096
Original author: Jim Nelson
Original description:

Today we're parsing conversations purely on Message-IDs. We could use a little
more intelligence. For example, pool messages with the same subject (stripped
of Re: and Fwd:) from the same person. Gmail does this today.

Related issues:
related to geary - 6645: Conversation content is not shown when the
converstation ... (Invalid)
related to geary - Bite-sized #7211: Recognise "R:" as a valid reply prefix (Open)
related to geary - 7350: Message not included in conversation (Open)

---- Additional Comments From geary-maint@gnome.bugs 2013-03-26 11:38:00 -0700 ----

### History



Updated by Adam Dingle over 1 year ago

I also see that Geary sometimes fails to thread related messages together into
a single conversation. For example, I'm currently subscribed to the GNOME
desktop-devel-list mailing list. Here are its messages from May:

For the threads "3.6 Feature: Lock Screen" and "3.6 Feature: IBus/XKB
integration", Geary groups messages into several conversations, but Gmail is
smart enough to display only one conversation for each. Note that the mailing
list archive shows a marker "<Possible follow-ups>", indicating that it's not
100% sure that the messages are related. But they are related, and Gmail gets
this right.

I think this might not be as simple as pooling messages with the same subject
from the same person. For example, send yourself two independent messages in
succession entitled "Re: foo". Google displays them as separate conversations,



Updated by Adam Dingle over 1 year ago

  * **Target version** set to _0.2_



Updated by Adam Dingle over 1 year ago

  * **Subject** changed from _Better conversation parsing_ to _Geary sometimes fails to group related messages into a single conversation_



Updated by Jim Nelson over 1 year ago

  * **Category** set to _engine_

Perhaps. But when I send to my Yorba account two messages titled "Re: xyzzy"
(and "Fwd: Foo") from my personal account, they are presented as a



Updated by Jim Nelson over 1 year ago

One more data point: I'm subscribed to the desktop-devel-list as well, and my
iPhone's Mail app pools those threads exactly the same way as Geary does.



Updated by Adam Dingle about 1 year ago

  * **Target version** deleted (<strike>_0.2_</strike>)



Updated by Tiago Quelhas 11 months ago

JWZ's algorithm [1] is worth taking a look for this, as it is the _de facto_
message threading algorithm for MUAs. It threads primarily based on References
/In-Reply-To headers, but also includes a fallback heuristic based on subject
lines. Obviously, Geary doesn't really need to know the nesting order of
messages within a conversation, so the full algorithm isn't required; but we
could use the part concerned with identifying which messages belong to the
same conversation.




Updated by Jim Nelson 8 months ago

  * **Category** changed from _engine_ to _conversations_

--- Bug imported by 2013-11-21 20:20 UTC  ---

This bug was previously known as _bug_ 5096 at

Unknown version " in product geary. 
   Setting version to "!unspecified".
Unknown milestone "unknown in product geary. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Jim Nelson 2015-01-22 02:40:09 UTC
*** Bug 742568 has been marked as a duplicate of this bug. ***
Comment 2 Jim Nelson 2015-01-22 02:41:27 UTC
As seen in bug #742568, Google Voice marks all emails with the same References Message-ID, so they're all grouped together even if they involved different people.  An improved conversation algorithm should look at those messages as well and see if it can handle Google Voice too.
Comment 3 Michael Gratton 2018-04-13 03:47:06 UTC
*** Bug 791844 has been marked as a duplicate of this bug. ***
Comment 4 GNOME Infrastructure Team 2021-07-05 13:25:57 UTC
GNOME is going to shut down in favor of
As part of that, we are mass-closing older open tickets in
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
and create a new ticket at

Thank you for your understanding and your help.