If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Cannot change sort order of accounts (suggested fix: Implement "Reorder accounts" dialogue, add Account Settings | Account Actions | Reorder Accounts... menuitem)

NEW
Unassigned

Status

MailNews Core
Account Manager
--
enhancement
14 years ago
a month ago

People

(Reporter: Florian Effenberger, Unassigned)

Tracking

(Depends on: 1 bug, {student-project, ux-control})

Trunk
student-project, ux-control
Dependency tree / graph
Bug Flags:
wanted-thunderbird +

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gs][has proof-of-concept UI from addon, see URL; see comment 42, 52, 62][patchlove], URL)

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6) Gecko/20040206 Firefox/0.8

I cannot change the sort order of accounts. I'd like to change the order my
accounts appear in the folder pane.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Updated

14 years ago
Whiteboard: DUPEME
Target Milestone: --- → After Thunderbird 1.

Comment 1

14 years ago
Florian, *please* search for bugs before submitting them.

*** This bug has been marked as a duplicate of 61078 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → DUPLICATE

Comment 2

11 years ago
Not a dupe of bug 61078. Bug 61078 is about the Mozilla Suite while this one is about Thunderbird. Reopening and nominating for 2.0.

david, any chance to get this feature in Tb 2.0? This looks like a "core" feature rather than something for an extension.
Status: RESOLVED → UNCONFIRMED
Flags: blocking-thunderbird2?
OS: Windows XP → All
Hardware: PC → All
Resolution: DUPLICATE → ---
Whiteboard: DUPEME

Updated

11 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 3

11 years ago
not going to block the release for this.
Flags: blocking-thunderbird2? → blocking-thunderbird2-
Keywords: helpwanted

Updated

11 years ago
Duplicate of this bug: 366399

Updated

11 years ago
Blocks: 340322

Comment 5

11 years ago
Aaah, such a basic feature, not available in major version 2. Alas. But it's open source after all, I /could/ fix this myself... Disappointment.....
QA Contact: account-manager

Comment 6

10 years ago
There is an extension called "Folderpane Tools" which provides this: https://addons.mozilla.org/de/firefox/addon/258

Comment 7

10 years ago
That extension is nice.  However, it's a hack that has the side effect of changing Thunderbird's default account in such a way that it breaks the Lightning extension (which is an integrated calendar for Thunderbird).  That is, when I set Folderpane tools to change the order of accounts, it sets the default account to 'Local Folders' and Lightning can't send meeting invitations because 'Local Folders' isn't a real account.

Yes, Lightning could probably solve this problem by allowing the user to choose from which account to send meeting invitations, but IMO it would be better if Thunderbird offered this as core functionality so that extensions like Folderpane tools and Lightning didn't have to make hacks to make it work, plus there would be one less extension that we would have to install.  And, Thunderbird could implement it with nice drag&drop to re-order accounts (and hopefully to re-order mailbox folders too).

Updated

10 years ago
Duplicate of this bug: 399333

Comment 9

10 years ago
While the extension is great, I think this feature needs to be part of the core application. Every modern email client that I've used that supports multiple email accounts has this feature.
Duplicate of this bug: 340322

Updated

10 years ago
Flags: wanted-thunderbird3?

Updated

9 years ago
Assignee: mscott → nobody
Component: Account Manager → Folder and Message Lists
QA Contact: account-manager → folders-message-lists
Duplicate of this bug: 477788
Duplicate of this bug: 271762
Duplicate of this bug: 499937

Comment 14

8 years ago
I hope this feature will come with Thunderbird 3 'cause it's really a feature that I don't want to miss any longer.

Comment 15

8 years ago
Still not in the TB3beta4 and not even in the last 4th november nightly build...

Any chance for the next release ?

BTW : it would be really cool that this possibility also be available in SmartFolders view too (see bug https://bugzilla.mozilla.org/show_bug.cgi?id=526659)

Michel

Comment 16

8 years ago
Any chance this is going to be looked at? It's been nagging me for a long, long time and editing the prefs.js file is not a real joy. I work with different companies and e-mail addresses and occasionally want to re-order my account list. A feature to do this would be extremely appreciated.

If I could help, I would like to, but I am unsure how I can. I am a programmer but have never developed anything Mozilla-related yet.

Comment 17

7 years ago
I'd love this feature as well, it's been on the books for 6 years now.

Comment 18

7 years ago
First, we'd need a UI. Two obvious UI's - drag drop in the folder pane to rearrange accounts (not highly discoverable), or drag drop in account settings, or buttons in account settings to move accounts up or down. But Bryan very likely has better ideas...we'd like the whole folder pane to be much more customizable.
one further thought, is if it's done in folder pane then it adds the complexity of dealing with unified folder and other modes. 

On the other hand, there are other bugs/requests that have asked for customization of folders/order within those modes.
I'm not usually a fan of drag & drop because it often lacks discoverability and undo features such that people will accidentally drag something and drop it somewhere else without ever knowing.

I'd probably like to see some kind of edit mode where you turn on the folder pane edit mode and then can re-order the accounts.  Perhaps this could be done in account settings instead?

Just some thoughts.

Comment 21

7 years ago
Why not have an option in Tools -> Account Settings? You could just add "Move up" and "Move down" to the Account Actions menu button.

Comment 22

7 years ago
Agreed. Account Settings -> Account Actions -> "Change Account order"  seems like the best place for this with minimum confusion.

Preferably a small window should open, similar to Options -> Display -> Tags, listing all the available accounts with the buttons "Move up" and "Move down" to its side. The default account name could be in bold letters with word "default" in parentheses. Even a button "Make default" could be added.
This is basic enough and has enough votes (currently 27) to warrant wanted-thunderbird+, which should be set.
Keywords: uiwanted
Created attachment 463688 [details]
account settings

(In reply to comment #21)
> Why not have an option in Tools -> Account Settings? You could just add "Move
> up" and "Move down" to the Account Actions menu button.

Yeah, that's what I meant at the end.

I was thinking we could pull it out from the account actions so it's just two up/down buttons connected to the list.

Updated

7 years ago
Duplicate of this bug: 585406
http://getsatisfaction.com/mozilla_messaging/tags/bug_244347

Sorry for spam, but I cannot add the link to the equivalent MoMo getsatisfaction report anywhere else but here in a comment, due to:

Bug 571740  - Cannot add getsatisfaction links/URLs to "See also" field (e.g. for problems reported at Mozilla Messaging's Thunderbird support site)
Bug 577847 - "See also" field should accept any URL
Bug 577842 - Allow adding multiple URLs in URL field (that would be the easiest fix, I'd think; it could be rephrased as providing an optional *custom* URL field for multiple URLs *in addition* to the current default URL field.)
Whiteboard: [gs]
Flags: wanted-thunderbird3? → wanted-thunderbird+
Keywords: student-project

Comment 27

7 years ago
https://addons.mozilla.org/en-US/thunderbird/addon/15102/

Manually soft folders

This addon seem to fix the issue addressed here for the most part.
It was last updated on 2010-11-1, by author mozjonathan.
I've just tried it, and it works great.
Duplicate of this bug: 706461
(looks like "After Thunderbird 1" got translated to "Thunderbird 11")
Target Milestone: Thunderbird 11.0 → ---

Comment 30

6 years ago
So this bug was entered WAYYYYY back on  5-22-2004, almost a decade ago, and this feature has STILL not been added.

I was about to request this myself, but this bug report already exists, as does Bug 535117.

It's WAYYYYY past time for this basic function to be added!

Comment 31

5 years ago
It's even worse, now the sorting order under menu "get mail" is totally mixed up, although I ordered all accounts with the add-on "Folderpane Tool"!

https://bugzilla.mozilla.org/show_bug.cgi?id=763236

Comment 32

5 years ago
For those posting "+1" or "me too" comments, please consider voting instead of adding such comments (see the "Importance" field above for links to add your votes).
Duplicate of this bug: 535117

Comment 34

5 years ago
Same here as Pepe reported.
I suspect code regression to before <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=428887">bug 428887</a>

Comment 35

5 years ago
I try to look at this after bug 749200 lands (so that we can be sure the account order is interpreted the same way at all places.

Also I need to note that in the current implementation (and bug 749200 will not change that), the various types of accounts are forcefully sorted in specific positions, i.e. you have all mail (POP/IMAP) accounts, Local folders, all News accounts, all IM account, all RSS accounts, etc.
So what you can influence is only the order of accounts inside the groups, i.e. within all mail accounts, you can set which account comes first, which second etc.
If this is enough for everyone, then I could try to implement something.
Assignee: nobody → acelists

Updated

5 years ago
Depends on: 749200

Comment 36

5 years ago
I'd go in the way of comment 21, just menuitems/buttons in the Account manager, no drag and drop anywhere.
Assignee: acelists → nobody
No longer blocks: 340322
Component: Folder and Message Lists → Account Manager
Flags: blocking-thunderbird2-
Product: Thunderbird → MailNews Core
Version: unspecified → Trunk

Comment 37

5 years ago
howdy :aceman,

comment 21 would fit my use case quite well without introducing any unneeded complexity. plus, that type of sorting is used elsewhere in tbird, so there may be reusable code in there somewhere.

take care,
lee

Comment 38

5 years ago
(In reply to :aceman from comment #35)
> So what you can influence is only the order of accounts inside the groups,
> i.e. within all mail accounts, you can set which account comes first, which
> second etc.
> If this is enough for everyone, then I could try to implement something.

+1
+ [Default] button
Please also consider bug 706791
(It should include the renumbering of X-Account-Key tags in the Mbox files)

Comment 39

5 years ago
Comment on attachment 463688 [details]
account settings

Bwinton, could you comment on whether this UI proposed would be OK? Or should the "move up/down" items be included into the "account actions" menu?
Attachment #463688 - Flags: ui-review?(bwinton)

Updated

5 years ago
Assignee: nobody → acelists
(In reply to :aceman from comment #39)
> Comment on attachment 463688 [details]
> account settings
> 
> Bwinton, could you comment on whether this UI proposed would be OK? Or
> should the "move up/down" items be included into the "account actions" menu?

Hiding "move up/down" in "account actions" menu imho would make a rather unfortunate UX: For those scenarios where this function is most relevant (users with many accounts who want to move account 10 up to position 1), it would be most difficult to use: To move an account up by one, this would require the following procedure:
1 click "account actions"
2 delicate mouse move to hover exactly "Move up" while avoiding both "Move down" and "Remove Account"
3 click "Move up"
To move an account up from position 1 to position 10, that's 20 clicks and 10 delicate mouse moves in between. Outch.
I suggest we'd be better off with only 10 safe and straightforward mouse clicks in exactly the same position, on the up/down arrow buttons as proposed by attachment 463688 [details].

Don't forget to make this keyboard-accessible. up/down buttons need to be focusable, and when they have focus, both Enter or Space should press the buttons, so that user can just repeatedly press enter to move up or down.

Btw, I find that "Account actions" button pretty clumsy, so if anything, I would get things outa there to be individual buttons (as they used to be) instead of hiding more buttons inside.
For full keyboard access, I recommend:
With focus on account...
- alt+cursor down to move account down
- alt+cursor up to move account up

That's plausible, easy to memorize, and highly efficient.
It may need a hint somewhere to be discoverable, e.g. the following tooltips on up/down arrow buttons:
"Move account up (Alt+Cursor Up)"
"Move account down (Alt+Cursor Down)"
Comment on attachment 463688 [details]
account settings

Yeah, I think that might be okay.  I worry a little about what people would expect to happen when they were on, say, "Junk Settings", and clicked the button, and I'm not a huge fan of having the up/down buttons on the bottom there.  So while this is better than the current state, I think I would prefer some sort of "Reorder Accounts…" in the "Account Actions" dropdown, which took us to a more focused popup (similar to the "Manage Identities…" popup, but with more/different buttons).

Would you mind doing a mockup of what you think the new dialog should look like, and I'll give you some feedback on that?

Thanks,
Blake.
Attachment #463688 - Flags: ui-review?(bwinton) → ui-review+

Comment 43

5 years ago
What about disabling the buttons when the selection is not a node that is the name of an account?

Or, even if the selection is on "Junk settings" the whole account will move. If the tooltips to the buttons say "Move account up/down" the expectations could be managed.

Or, if the "reorder accounts" command temporarily collapsed the accounts so that only the names are visible.

I think I would be able to copy the "Manage identities" dialog, but I think it would be a duplication of code when we already have one for the accounts (the current AM). The identities do not have any other list, so need the subdialog.
(In reply to :aceman from comment #43)
> What about disabling the buttons when the selection is not a node that is
> the name of an account?

That wouldn't give people much indication of how to enable them, so I'm not a giant fan of that.

> Or, even if the selection is on "Junk settings" the whole account will move.
> If the tooltips to the buttons say "Move account up/down" the expectations
> could be managed.

That would certainly surprise me if it happened to me.  Can you think of another product that does something like that?

> Or, if the "reorder accounts" command temporarily collapsed the accounts so
> that only the names are visible.

That could work, if there's a reason to not open a new dialog…

> I think I would be able to copy the "Manage identities" dialog, but I think
> it would be a duplication of code when we already have one for the accounts
> (the current AM). The identities do not have any other list, so need the
> subdialog.

Perhaps we can re-use the code in both places?

Thanks,
Blake.
I'd much prefer to see this land with a little bit of UX oddness rather than wait even longer till we establish something better. It's not everyday that users will need to change the order of their accounts... But for that one time, we should let them do it without more delay after 8 years of waiting...

Comment 46

5 years ago
Ditto what Thomas says, its a major pain as I've been using a TB a long long time, and have accounts that rarely get emal, but sit high on the list, so that the important current accounts are pushed off the bottom of the screen where I won't notice incoming email. 

I don't know if changing the order would have other implications but why not keep it simple ..We have a "Account Actions" button - adding Move Up as suggested in Comment #21 in 2010 would presumably be a trivial UI step

Comment 47

5 years ago
Yes, that would be easy.

Bwinton, what about that? Adding a "Move account up/down" menu items into the Account actions menu. Those items could be active for all panes of an account (the first line with name, including "server settings", "Junk settings, etc.".
Would that still be unexpected?

Comment 48

5 years ago
But Thomas would better like the arrow buttons outside the Account actions.

(In reply to Blake Winton (:bwinton - Thunderbird UX) from comment #44)
> (In reply to :aceman from comment #43)
> > What about disabling the buttons when the selection is not a node that is
> > the name of an account?
> 
> That wouldn't give people much indication of how to enable them, so I'm not
> a giant fan of that.

What about having the tooltip hint that the selection must be on the account name to activate the buttons?

Comment 49

5 years ago
Re-using the "manage identities" dialog may be possible but it would need a lot of work. E.g. if Bwinton proposes a new "manage accounts" dialog for managing accounts, then it would need to move the existing "add", "remove", "make default" account actions to this new subdialog. They already have code to work in the current AM. Adapting them to a different list would be some work and could produce new bugs. I think just adding move up/down to the existing AM would be easier.
(In reply to :aceman from comment #49)
> Re-using the "manage identities" dialog may be possible but it would need a
> lot of work. E.g. if Bwinton proposes a new "manage accounts" dialog for
> managing accounts, then it would need to move the existing "add", "remove",
> "make default" account actions to this new subdialog.

I understood from Blake's comment 42 that he is suggesting "Reorder accounts..." command in Account actions which would trigger a *"Reorder accounts"* dialogue exclusively for that very purpose (no need to move other commands around), which I think makes a nice and easy UI because the current AM is so cluttered as we have all the nested options open by default (and those nested subcategories repeated for each account are probably unfortunate design anyway). If we want to move accounts within the current AM, we really need to collapse those subcategories. We could collapse them after user clicks "move account" first time.

Imo there is no problem if we enable moving of accounts only when the main account entries are focused - that's the general principle of using software: Select, then act. It doesn't make much sense to start "account move" with "Composition & Adressing" subcategory selected (although it wouldn't hurt much either).

Comment 51

5 years ago
It is the same. If we shared with "manage identities" but then only wanted to have the "move up" and "move down" operations there, then we'd have to hide the "add", "edit", "delete", "set default" buttons in there ;)
And add "move up" and "move down" buttons as they are not yet there (and aren't planned for identities).

Comment 52

5 years ago
But there is one thing in favor of the separate dialog: there are various saves and checks of data in the account manager that trigger when the selection is changed (moving from one pane to another). If we now suddenly start to move rows around in the tree I don't know what would happen and if those checks would be properly triggered. We would need to really make sure the same pane (row) is selected again after the movement.

Also, opening a subdialog, making the shuffles and returning back to the AM with reordered accounts will not solve this. I would feel best when the main AM is closed before we open this new dialog.

CCing Seamonkey guys as this will affect them too, even worse because they do not have the Account actions menu, but buttons instead.
This bug looks interesting. Just pinging to know if anybody is currently working on this.
As it is a student project, maybe we can add it to SummerOfCode13 ideas list.

Comment 54

5 years ago
Hi. We are discussing how this should look and work. After that settles, I suppose I able to implement this. I just forgot about this a little (had to wait for dependency to land). I'll look at the design using a small separate dialog to sort the accounts.

Of course, if there is interest in getting new contributors to the account manager then this is a good bug (and not that hard as it is possible to copy the code/pattern from e.g. the identity list dialog).

I'd just wonder who would mentor it :)
Keywords: helpwanted, uiwanted
(In reply to :aceman from comment #54)

> I'd just wonder who would mentor it :)

You can mentor it as you know about the problem and how to implement this :-)

Comment 56

5 years ago
Theoretically yes, depends how much time it needs and if I am an officially acceptable mentor for Mozilla.

Comment 57

5 years ago
Bwinton, to avoid misunderstanding, could you revoke your ui-r+ on the screenshot as you no longer agree with the buttons below the account list?
Flags: needinfo?(bwinton)
Attachment #463688 - Flags: ui-review+

Comment 58

5 years ago
Atuljangra, coding what is needed for this bug is work for maybe 1-2 days so I am not sure it qualifies for a full project.

On the other hand I hate the semantic duplication that we have several such small dialogs with Add/Edit/Delete/Move up/down/make default or something. In each of them we must code the same hacks for selecting items after deletion, workarounds for focus problems in the listbox widget, etc.

My idea for the student would be to come up some abstraction layer for this. That provides the framework having the dialog, some buttons and managing focus/selection/redraw etc. Then we could just send to this dialog the proper JS list to manage and code specific for the list in question (e.g. some checks/questions before deletion)
See comment 49 where I started with this.
I am not sure how much code can be saved/abstracted in this way and if all this is worth it. But finding that out may take some more weeks and could be a better project.
(Just commenting to clear the needinfo request, since I revoked my ui-r+…  Sorry about that, folks.)
Flags: needinfo?(bwinton)
Aceman, I'm unassigning you from this bug since A. You aren't actually working on it, so that confuses others who might want too. And B. Someone has volunteered to take this, so clearing your name makes things simpler.
Assignee: acelists → nobody
Whiteboard: [gs] → [gs][has proof-of-concept UI from addon, see URL]
Current statistics - This bug: 44 votes,  8 dupes.
See also: SeaMonkey bug 61078 (60 votes, 15 dupes).
See Also: → bug 61078
So per comment 42 from Blake Winton (ux lead), and aceman's comment 52, the preferred UI direction this should take is to implement a separate "Reorder accounts" dialogue (with [Move Up] and [Move Down] buttons). The dialogue would be triggered from a "Reorder Accounts..." menuitem to be added in Tools | Account Settings | Account Actions (button popup menu).

Volunteers with XUL and JavaScript coding skills are most welcome to start working on this (the community will assist you). 

The "Folder Pane Tools" Addon provides a "Rearrange Accounts" dialogue which looks very much like what we want here (still works for TB24), so anyone willing to pick this up can use that as a proof-of-concept model UI/code:

https://addons.mozilla.org/en-US/thunderbird/addon/258/
Keywords: ux-control
Summary: cannot change sort order of accounts → Cannot change sort order of accounts (suggested fix: Implement "Reorder accounts" dialogue, add Account Settings | Account Actions | Reorder Accounts... menuitem)
Whiteboard: [gs][has proof-of-concept UI from addon, see URL] → [gs][has proof-of-concept UI from addon, see URL; see comment 42, 52, 62][patchlove]

Updated

3 years ago
Blocks: 1002240
Duplicate of this bug: 1002240

Comment 64

a year ago
+1. I would also like to see reordering of RSS subscriptions
Duplicate of this bug: 1296960

Comment 66

a year ago
I found a very crude tedious way for a user to re-order accounts - until a simple re-order version is released. Every time a mail account is "set as default" it is moved to the top next time you re-open Thunderbird. So after lots of juggling, closing and re-opening Thunderbird you get the order you want. Sorry guys but I am a tech-head not a coder. ;-)

Comment 67

a year ago
And I'm the one who suggested re-ordering which created this thread - see my opening comment.

Updated

5 months ago
Depends on: 1359410

Updated

4 months ago
Duplicate of this bug: 896511

Updated

a month ago
Duplicate of this bug: 1390340
You need to log in before you can comment on or make changes to this bug.