Bug 41889

Summary: group mails by subject or sender / multi level sorting
Product: [Unmaintained] kmail Reporter: Ronald Aigner <ra3>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: bluedzins, brian.beck, hashinclude, jan.halasa, mauceri, r.bauer, shafff
Priority: NOR    
Version: 1.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ronald Aigner 2002-04-29 12:48:04 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.4 (using KDE 3.0.0 )
Severity:          wishlist
Installed from:    compiled sources
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:                Linux (i686) release 2.2.20
OS/Compiler notes: 

It would by helpful to be able to group mail in a folder by subject or sender. (I hope it's not too obvious that I was an excessive Outlook user...)

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Marc Mutz 2002-04-29 14:25:52 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 29 April 2002 14:48 ra3@os.inf.tu-dresden.de wrote:
<snip>
> It would by helpful to be able to group mail in a folder by subject or
> sender.
<snip>

Tried clicking on the column headers? ;-)

Marc

- --=20
Marc Mutz <mutz@kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8zVfw3oWD+L2/6DgRAiswAJ9rEPmiA3O6/axDAHKyibKuruqDsgCdEKix
u9z1D50+OMq6Lcgh/HYs11s=3D
=3DZp2W
-----END PGP SIGNATURE-----
Comment 2 Ronald Aigner 2002-04-29 15:01:49 UTC
What I meant was to group the mails (something like using threads). If I klick 
on the column header the sorting is changed. That's not what I want. I still 
want to sort the message by the day of arrival.
-- 
Mit freundlichen Gruessen / with regards
Ronald Aigner
http://os.inf.tu-dresden.de/~ra3/
Operating Systems Group - TU Dresden
Comment 3 Karl-Heinz Zimmer 2002-04-29 15:21:46 UTC
On Monday 29 April 2002 17:01 Ronald Aigner wrote:
> What I meant was to group the mails (something like using threads). If I
> klick on the column header the sorting is changed. That's not what I want.
> I still want to sort the message by the day of arrival.

Perhaps you might call the desired feature:

  "multi level sorting"

Sounds like a good idea to me.

Possible way how to design the respective UI:

1. By clicking on a column header sorting is completely changed - just the
   same way as it is done now.
   So by normal (left) clicking you would set the 1st level sorting column.

2. By right clicking on this column header you would be presented a menu
   offering the names of the other columns: by selecting one of them
   you could define this column as 2nd level sorting order (to be
   applied to all entries having the same 1st column value).

Thus you could declare any column as 2nd level sorting column by just
right clicking on the active 1st column's header...

Of course this would require to have all different 'modes' of each column
in the respective RBM e.g. there should be separate entries for

   "Date (up)"
   "Date (down)"
   "Date of arrival (up)"
   "Date of arrival (down)"

rather than just havind one single "date" entry for that column.

Is this what you would like to see?

Cheers

Karl-Heinz

PS: Do you happen to speak C++?   ;-)

--=20
Karl-Heinz Zimmer Senior Software Engineer Klar=E4lvdalens Datakonsult AB
<mailto:khz@klaralvdalens-datakonsult.se>            <mailto:khz@kde.org>
Comment 4 Ronald Aigner 2002-04-29 15:37:29 UTC
On Monday 29 April 2002 17:21 Karl-Heinz Zimmer wrote:

> Perhaps you might call the desired feature:
>   "multi level sorting"
Thats a pretty good description - I'm still used to the Microsoft 
terminology...

> 1. By clicking on a column header sorting is completely changed - just the
>    same way as it is done now.
>    So by normal (left) clicking you would set the 1st level sorting column.
>
> 2. By right clicking on this column header you would be presented a menu
>    offering the names of the other columns: by selecting one of them
>    you could define this column as 2nd level sorting order (to be
>    applied to all entries having the same 1st column value).
Maybe (since I am so full of MS) I'll describe the way Outlook does this:
When you activate "grouping" above the message list an smaller window is 
inserted which will show the grouping/sorting hierarchy. If you drag a 
column header into this window you can position it at the desired 
grouping/sorting level... But that might require larger scale changes...

> Is this what you would like to see?
Yeah! :))))

> PS: Do you happen to speak C++?   ;-)
Aehm yes.

-- 
Mit freundlichen Gruessen / with regards
Ronald Aigner
http://os.inf.tu-dresden.de/~ra3/
Operating Systems Group - TU Dresden
Comment 5 Karl-Heinz Zimmer 2002-04-29 15:44:02 UTC
On Monday 29 April 2002 17:37 Ronald Aigner wrote:
> On Monday 29 April 2002 17:21 Karl-Heinz Zimmer wrote:
> > Perhaps you might call the desired feature:

> >   "multi level sorting"
..
> > Is this what you would like to see?
>
> Yeah! :))))
>
> > PS: Do you happen to speak C++?   ;-)
>
> Aehm yes.

Welcome at the Party!

This is Free Software: your patches implementing the desired feature will
be very wellcome and (of course) you can be sure to receive all possible
help to encourage/support you in adding such reasonable things to KMail.

See you on kde-devel@kde.org ?

Cheers

Karl-Heinz

--=20
Karl-Heinz Zimmer Senior Software Engineer Klar=E4lvdalens Datakonsult AB
<mailto:khz@klaralvdalens-datakonsult.se>            <mailto:khz@kde.org>
Comment 6 Christoph von Kruechten 2003-06-03 18:53:56 UTC
I would really like to see this feature as it incredibly cleans up large mailboxes. 
Comment 7 Ingo Klöcker 2003-06-04 02:08:55 UTC
Subject: Re:  group mails by subject or sender

Grouping/Threading by subject will be possible in KDE 3.2. And for 
grouping by sender simply sort by sender. Yes, I know that this won't 
sort the messages from one sender by date. If you really need this then 
you should consider creating separate folders for different senders.

Comment 8 Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2006-11-08 10:47:24 UTC
ooooh ... digging up old wishes!

I was reading the discussion over at bug 67642 - and I have the exact same problem described there. 

We have an internal Bugzilla, which forwards mails to our broken mailserver (Exchange, 'nuff said) which sends the same bug mails multiple times to the same address (once to hrishikesh.mehendale@... and once to group@...)

The current incarnation of KMail (1.9.1 from KUbuntu 6.06_LTS; KDE 3.5.2) partially works as expected - one of those two mails is shown "threaded" with the rest of the tree, but the other one is not (different recipient? possibly - because it is the exact same mail).

Having this (configurable?) feature of "group by subject" is the ideal way to solve this issue, so I can sort by subject (so the latest bug numbers are always in the top), but the list is collapsed (much like threading). At the same time, this does not kill the "conservative threading algorithm" [sic], but lets people group mails in specific mail folders by subject (e.g. bug mails ARE grouped by subject, but not mails to kde-i18n-doc@...)

(one vote from me - for whenever this is implemented!)
Comment 9 Thomas McGuire 2007-02-28 12:19:44 UTC
*** Bug 142316 has been marked as a duplicate of this bug. ***
Comment 10 Thomas McGuire 2007-11-01 21:05:12 UTC
*** Bug 122142 has been marked as a duplicate of this bug. ***
Comment 11 Thomas McGuire 2007-11-01 21:05:17 UTC
*** Bug 151181 has been marked as a duplicate of this bug. ***
Comment 12 Maciej Pilichowski 2007-11-01 21:20:56 UTC
I add my 2 cents here then :-)
* please provide group schemes which could be saved for later use. 
 
 Or in other words -- please provide "views" for "group by". So I could have one folder but with dozens of views.
Comment 13 Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2007-11-02 04:23:49 UTC
In response to comment 12 - like gmail then?

That is a very useful way to store & locate mail, once you get used to it ...
Comment 14 Maciej Pilichowski 2007-11-02 09:29:39 UTC
I don't know, I don't use gmail. I would say rather like a "macro", so you don't have to set "group by" each time.
Comment 15 Thomas McGuire 2008-02-16 23:05:11 UTC
*** Bug 61106 has been marked as a duplicate of this bug. ***
Comment 16 Thomas McGuire 2008-02-16 23:06:29 UTC
See also bug 107450.
Comment 17 Nick Shaforostoff 2009-01-13 20:00:57 UTC
does kmail from KDE 4.2 resolve bug?
Comment 18 Thomas McGuire 2009-01-13 20:55:46 UTC
> does kmail from KDE 4.2 resolve bug?

You can group by sender now (and by date), and still sort by date.
You can't group by subject, which is requested in the original report.
Comment 19 Nick Shaforostoff 2009-01-13 21:00:59 UTC
grouping by subject == displaying threads as trees?
Comment 20 Thomas McGuire 2009-01-13 21:15:22 UTC
> grouping by subject == displaying threads as trees?

I'm actually not too sure what this bug report is about :)
Comment 21 Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2009-01-13 22:36:00 UTC
group by subject != threaded view as trees, but that is a close approximation :)
Comment 22 Nick Shaforostoff 2009-01-13 23:29:52 UTC
Ronald Aigner  2002-04-29 15:01:49:
> What I meant was to group the mails (something like using threads).

so closing the bug.