GNOME Bugzilla – Bug 351025
Make the order of the mail accounts configurable
Last modified: 2013-09-13 01:04:46 UTC
People who have different mail account often read the various accounts thehy have at different frequency E.g. a salesman on the road might read work related mail account several times a day, accounts for private mail once or twice in the evning when he gets back to the hotel. The accoutn he hands out to when he orders stuff from the internet only occationaly when he actually have ordered something.
This means that alphabetical organization is far from optimal, the user should be able to arrange his mail accounts trees ordered by read frequency.
Such ordering process, if you decide to implement it, should probably NOT be automated, as ordering of the accounts will be something the user does once. If the process was automated the user would have to make sure the account are at the same place as last time every time he tries to open a mail, thus creating more cognitive load.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.
*** This bug has been marked as a duplicate of 202257 ***
Reopening since this is difference from bug #202257.
This is about reordering accounts, not folders within accounts.
*** Bug 589392 has been marked as a duplicate of this bug. ***
Marking as NEW.
*** Bug 599604 has been marked as a duplicate of this bug. ***
*** Bug 206891 has been marked as a duplicate of this bug. ***
Is this still "NEW" ? Are you kidding? I've quit using Evolution _two_ _years_ ago partly because of this "bug". I installed Debian 6.0 yesterday and decided to check on Evolution (instead of my default MUA - Thunerbird/Icedove) and I see nothing had changed. It's quite silly to have such a bug for almost _five_ _years_...
It should be possible for a user to sort his accounts to his liking...
A similar report is available on LaunchPad: https://bugs.launchpad.net/evolution/+bug/649610
Created attachment 196362 [details] [review]
This patch makes configurable order of accounts in a folder tree. There are added few new widgets in Edit->Preferences->Mail accounts. At the bottom is a checkbox whether to sort accounts the old way (evolution will decide, if checked), otherwise user decides. In that case the Up/Down buttons are enabled and user can change order of accounts. Account ordering is the same as in the folder tree in Mail Accounts.
There are added two fake accounts "On This Computer" and "Search Folders". Both can be reordered and both can be enabled/disabled, which shows/hides them from a folder tree.
Created attachment 196363 [details] [review]
I change EMFolderTreeModel API slightly, and this is to fix it here.
Having a dedicated UI for this seems somewhat excessively complicated. Why not just allow drag and drop for reordering, and optionally add an item to the right-click menu for "sort accounts by name"? Even the latter seems potentially excessive; how about starting with just the drag-and-drop?
I've always been against drag-and-drop of mail stores in the sidebar. It's complicated enough dealing with drag-and-drop of mail folders without wondering what to do with a top-level mail store that gets dropped in the middle of a tree of folders.
I think right-clicking on a top-level mail store in the sidebar and having "Move Up" and "Move Down" choices in the pop-up menu is sufficient. It doesn't need to be super-accessible and we certainly don't need yet more crud in Preferences.
(In reply to comment #12)
> I've always been against drag-and-drop of mail stores in the sidebar. It's
> complicated enough dealing with drag-and-drop of mail folders without wondering
> what to do with a top-level mail store that gets dropped in the middle of a
> tree of folders.
When you say "complicated", do you mean UI or code? The UI seems fairly simple: just display the "no drag and drop" symbol if you try to drop a top-level mail store anywhere other than in the top-level list. Bonus, though, if you highlight the entire mail store as a unit and drag that, and make the drop targets extend into the other mail stores so that you don't have to aim precisely between two mail stores.
> I think right-clicking on a top-level mail store in the sidebar and having
> "Move Up" and "Move Down" choices in the pop-up menu is sufficient. It doesn't
> need to be super-accessible and we certainly don't need yet more crud in
That would work, though it seems more clunky.
As I noted in the patch comment, this is fixing couple more than just ordering, it's two-in-one. Unless you have a strong opinion against this then I'll commit it after the freeze. I like the way it is done, even you may think it's "too complicated".
Created commit e0548d2 in evo master (3.3.1+)
Created commit cdd0da4 in eds master (3.3.1+)
*** Bug 550723 has been marked as a duplicate of this bug. ***