Bug 38326 - kmail folder list sort order is strange
Summary: kmail folder list sort order is strange
Status: CLOSED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.3.9
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-18 15:18 UTC by Pascal Cavy
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Cavy 2002-02-18 15:08:40 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.3.9 (using KDE 2.9.0 2 (3.0 beta2))
Severity:          normal
Installed from:    Mandrake Linux 8.1 i586 - Vitamin
Compiler:          gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.62mdk)
OS:                Linux (i686) release 2.4.17-16mdkenterprise
OS/Compiler notes: 

I used to create some folders in kmail with an '@' at the beginning of their name in order to put them on top of the list of folders. This does not work anymore.

snapshot included.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Pascal Cavy 2002-02-18 15:41:36 UTC
sorry they are no longer sorted to the top...

Le Lundi 18 F=E9vrier 2002 16:25 vous avez =E9crit :
> On Monday 18 February 2002 16:08 pascal@vmfacility.fr wrote:
> <snip>
>
> > I used to create some folders in kmail with an '@' at the beginning
> > of their name in order to put them on top of the list of folders.
> > This does not work anymore.
>
> <snip>
>
> _What_ does not work? Using @'s in folder names or that they are no
> longer sorted to the top?
>
> Marc
Comment 2 Ingo Kl 2002-02-18 20:57:25 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 18 February 2002 16:41 pascal wrote:
> sorry they are no longer sorted to the top...

For me (current KMail cvs) it still seems to work. I have the following=20
folders in this order:
 test (the first character of the folder name is a space)
@test
_inbox2
aaa

How are the folders sorted for you? Please resubmit the snapshot. Does=20
clicking on the column title (Folders) help?

Regards
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8cWq4GnR+RTDgudgRAhUbAJ9CFQH6NVIRvdGUWkqPihbDNkepngCgnVMt
mVHLXvxGgyiVrZTz3cOTV6U=3D
=3DV5MF
-----END PGP SIGNATURE-----
Comment 3 Michael H 2002-02-19 07:53:32 UTC
On Tuesday 19 February 2002 01:25:01 Ingo Klöcker wrote:
>
> No. I'm still using qt-copy and not Qt's rsync. When does 3.0.2 come
> out? Maybe we should tell Dirk to update Qt again so that we can find
> and fix new Qt bugs.

This locale aware sorting is also in the latest qt-copy and it's at least in 
most cases a great feature and not a bug.

At least for me it sorts now ignoring the @ character:
aaa
@bbb
ccc

We can of course disable this by reimplementing QListViewItem::compare but 
then also special characters like umlauts are again sorted wrong as before 
and I don't think that this is worth to loose this functionality just for 
the few people that want to prefix their folder names with spaces or @ 
characters to force the sorting order.

Regards
Michael Häckel
Comment 4 Pascal Cavy 2002-02-19 10:49:09 UTC
Ok but please document this new behaviour in the frontpage presentation of=
=20
the new kmail version at release to avoid bug reports.

regards.
Pascal
Le Mardi 19 F=E9vrier 2002 08:53 Michael H=E4ckel a =E9crit :
> On Tuesday 19 February 2002 01:25:01 Ingo Kl=F6cker wrote:
> > No. I'm still using qt-copy and not Qt's rsync. When does 3.0.2 come
> > out? Maybe we should tell Dirk to update Qt again so that we can find
> > and fix new Qt bugs.
>
> This locale aware sorting is also in the latest qt-copy and it's at least
> in most cases a great feature and not a bug.
>
> At least for me it sorts now ignoring the @ character:
> aaa
> @bbb
> ccc
>
> We can of course disable this by reimplementing QListViewItem::compare b=
ut
> then also special characters like umlauts are again sorted wrong as before
> and I don't think that this is worth to loose this functionality just f=
or
> the few people that want to prefix their folder names with spaces or @
> characters to force the sorting order.
>
> Regards
> Michael H=E4ckel
Comment 5 Michael H 2002-02-19 11:14:45 UTC
On Tuesday 19 February 2002 11:49:11 pascal wrote:
> Ok but please document this new behaviour in the frontpage presentation of
> the new kmail version at release to avoid bug reports.

That would need documenting on the front page presentation of all KDE 
applicatoins then.

Anyway the main advandage is of course that things like this are sorted 
correctely now:
nnn
oaa
öbb
occ
ppp
ÃÃÃ
ttt

intead of 
nnn
oaa
occ
ppp
ttt
öbb
ÃÃÃ

Regards
Michael Haeckel