Bug 90477

Summary: [usability] Incorrect account order for "Check Mail In" popup button
Product: [Applications] kmail Reporter: Marcin Orlowski <carlos-spam>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: flyzone, montel
Priority: NOR    
Version: 1.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: check mail in unsorted

Description Marcin Orlowski 2004-09-29 16:58:57 UTC
Version:           1.7 (using KDE 3.3.0,  (3.1))
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-12)
OS:                Linux (i686) release 2.6.8.1

The order of email accounts listed in "Check Mail In" popup button is different than order of email accounts shown on the account/folder tree. It should be the same to not 'visually' mess the order. Since user knows his i.e. joe@smth.com is 3rd account shown on the tree (which tree s/he sees all the time) s/he may wish to get new mails just for this accounts. So, going to Check Mail In button on the toolbar, s/he picks 3rd entry and... Ooops, it's different acount there.
Comment 1 Thomas Zander 2004-11-10 21:52:30 UTC
It seems to me that the ordering is the exact opposite of what it should be.  Without looking at code; its probably an iterator and an insert at position 0 (instead of insert at end).
Comment 2 Tom Albers 2004-11-29 01:12:37 UTC
I can not reproduce this with the development version of kmail. The order in the "check mail in" is identical as in the prefs. Can anyone confirm this bug with a recent version of KMail?
Comment 3 Tom Albers 2005-01-06 20:14:06 UTC
No response.
Comment 4 Marcin Orlowski 2005-01-06 20:50:30 UTC
Sorry, but what I got the latest is 1.7.1, which I don't believe is suffient to answer your question at the moment.
Comment 5 Micky 2014-01-18 20:00:44 UTC
Created attachment 84719 [details]
check mail in unsorted
Comment 6 Micky 2014-01-18 20:08:19 UTC
Hi, I would ask to reopen this bug, on kmail 1.13.7, kde 4.8.4, on debian wheezy 7.3 the problem is still present.
Is about 2 years (alson on debian lenny) that I was seeing this problem.
On Settings->Configure KMail->Accounts->Receiving accounts are correctly sorted alphabetically, but on "check mail in" drop-down-list are not sorted as you can see in the previously attach.

Test:
Trying to delete all acounts, exit kmail, reenter on kmail and recreate them.
The accounts stay sorted in the "check mail in" localized in "controlla posta" for about 5 minutes, then they get unsorted permanently (they stay unsorted always in the same way, they doesn't change again).

I have tried to look into kmailrc and mailtransports file into my $HOME/.kde/share/config, but the ID, Account Number, hostname, account name doesn't seem to have a logic/algoritm to the applied sort.

I have opened a topic on http://forum.kde.org/viewtopic.php?f=215&t=119274, another user with kde version 4.12.1 on gentoo have the same issue.

Let me know if I can give you more details.
Comment 7 Christoph Feck 2014-02-09 14:42:37 UTC
Micky, please report a new bug for kmail2.
Comment 8 Laurent Montel 2014-02-09 18:57:27 UTC
order is the same as in settings->account->receiver.
So for me it's ok.