Summary: | Threading by subject: Subject Prefixes not case-insensitive | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Bernd Oliver Sünderhauf <pancho.s> |
Component: | message list | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | montel |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim/e12cb6ec46e2fd77df1a29015002075d5a5a5715 | Version Fixed In: | 4.8.0 |
Sentry Crash Report: |
Description
Bernd Oliver Sünderhauf
2011-12-14 00:54:29 UTC
It's of course reproducible every time. Sorry. How we configure to thread by subject ? Was regexp do you use for threaded ? RE\*s ? or default value ? Re\s*: Re\[\d+\]: Re\d+: That's what was given as defaults. Didn't change anything. However, the regex can't be the problem, because they do work correctly (case-insensitive) for replacement in the subject line of a reply. Obviously the regex needs to be declared case-insensitive in the code line where it is included for Subject Threading. Btw.: adding "RE\*s" in another line etc. makes it work. So yes, it seems to be just a minor codefix. Ok but how we configure messagelist to thread just by subject ? I can't reproduce bug so perhaps it's because I can't thread by subject. could you add a screenshot please. Thanks Git commit e12cb6ec46e2fd77df1a29015002075d5a5a5715 by Torgny Nyblom. Committed on 14/12/2011 at 17:14. Pushed by tnyblom into branch 'master'. Make reply prefix case-insensitive CCBUG: 288930 M +1 -0 messagecore/stringutil.cpp http://commits.kde.org/kdepim/e12cb6ec46e2fd77df1a29015002075d5a5a5715 @Torgny: Thanks. This looks good. However, MessageComposer::MessageHelper::replacePrefixes() duplicates quite some code of MessageCore::StringUtil::stripOffPrefixes(), which contributed to this bug slipping through. It might be a good idea to consolidate these two functions. Otherwise this should be fixed. @Laurent: Of course, it's not possible to make messagelist thread only by subject. However, if there is no exact match (In-Reply-To) and References don't help either, messagelist falls back on by-subject threading. This might look like a rare scenario, but is in fact the predominant case, if interacting a lot with people using Microsoft Outlook. Creating separate new mails with faked Re-prefixes (as proposed above) is just a way to reproduce this situation without using Outlook. I didn't see that theses two function was similar. Will merge them. Thanks. |