#1718 new
Mitch

Folders not in alphabetical order

Reported by Mitch | 2017-03-18 14:23:14 UTC

After a while folders that moved around end up in a not alphabetical order (multiple computers use the same imap account at the same time). How can i solve this? (See attached file)

Comments and changes to this ticket

  • benny

    benny 2017-03-24 14:23:36 UTC

    How do they “move around”? Is this a side-effect of mailboxes being created/deleted on another machine?

    (Note that IMAP itself does not have ordering of IMAP mailboxes. The ordering is maintained by MailMate.)

  • Mitch

    Mitch 2017-03-24 15:56:24 UTC

    They move around during the day, can't say how exactly. Could be a side effect, but mailmate should correct that right? I can't change the order manually.... How can i solve this?

  • benny

    benny 2017-03-25 10:05:26 UTC

    You should be able to reorder IMAP mailboxes using drag'n'drop. This is a MailMate feature and it's only saved locally (there's no way to tell the IMAP server of a specific ordering).

    I can see that this feature might get into trouble if mailboxes are often added/removed using another email client. I can try to reproduce that if you think this is what triggers the issue.

    Maybe you can describe how you get these date-based folder-names? And when are they no longer date-based? Are they some times renamed?

    Note that most users do not often add/remove IMAP mailboxes and therefore even old bugs related to this might not have been reported.

  • benny

    benny 2017-03-30 10:01:49 UTC

    • State changed from “new” to “fixcommitted”

    I've now changed the code such that new mailboxes reported by the server are always inserted alphabetically -- even if mailboxes have been reordered manually at some point (which makes MailMate switch to manual ordering for the IMAP mailbox involved). I believe this should make it more stable, but given that I don't know exactly how your issue is triggered I could be wrong.

    Thanks for the report.

  • Mitch

    Mitch 2017-03-30 19:18:44 UTC

    Great, very fast fix! It looks stable now (used it since today).

  • benny

    benny 2017-09-22 12:54:56 UTC

    • State changed from “fixcommitted” to “fixreleased”
  • Mitch

    Mitch 2017-09-30 10:35:19 UTC

    Same problem is happening again on two different (apple) computers.

    Edit: I use mailmate with experimantal 2.0 feature ON. with the function: "Experimental 2.0 Feature" switched OFF the ordering corrects it self again.

  • benny

    benny 2017-10-02 12:10:55 UTC

    • State changed from “fixreleased” to “cantreproduce”

    The experimental preference has very little effect. Are you sure this made a difference?

    I don't think you ever told me how the data-based folders are created/deleted. I think this could play a role with respect to how to fix this bug.

  • Mitch

    Mitch 2017-10-04 18:00:54 UTC

    The on/off switching of the 2.0 features indeed wasn't the solution... A solution is to restart mailmate.

    Each folder is created by hand within mailmate: Right click on the main folder and then: New Mailbox.

  • benny

    benny 2017-10-05 10:54:49 UTC

    • State changed from “cantreproduce” to “fixcommitted”

    So, after restarting the mailboxes are sorted alphabetically?

    But when you create them then they are not inserted alphabetically?

    I played with this and I think I see the problem with creating new IMAP mailboxes (something I rarely do, sorry). It appears to always (or maybe there's a random factor) stay at its initial location with its default name. I can also see similar issues when renaming mailboxes.

    ...

    Ok, I've tried to fix these issues. Let me know if it still doesn't work as expected after the next release.

    Thanks for the report.

  • benny

    benny 2017-10-21 15:32:03 UTC

    • State changed from “fixcommitted” to “fixreleased”
  • Gary Sanctuary

    Gary Sanctuary 2019-06-12 18:26:14 UTC

    Hi Benny,

    You mentioned above "You should be able to reorder IMAP mailboxes using drag'n'drop. This is a MailMate feature and it's only saved locally (there's no way to tell the IMAP server of a specific ordering)."

    I've manually altered a mailbox in the past but having now decided on a new ordering naming syntax would like the mailbox to revert to its alphabetical re-sorting default.

    However I can't figure out how to do that.

    Regards,
    Gary

  • Anco van Vliet

    Anco van Vliet 2019-06-18 06:23:39 UTC

    Hi Benny,

    I have stil problems.
    "After a while folders that moved around end up in a not alphabetical order (multiple computers use the same imap account at the same time). How can we solve this?"

    Look forward to hear from you.

  • benny

    benny 2019-07-09 20:35:00 UTC

    @Gary: Manually reordering sets a preference on the folder which is currently not available in the GUI. You'll have to manually edit the following file while MailMate is not running and then remove sortOrder = "manual";

    /Users/<username>/Library/Application Support/MailMate/Mailboxes.plist
    

    @Anco: I'm not sure if this might be the same issue.

  • Raoul

    Raoul 2021-08-05 07:17:11 UTC

    Hi Benny,

    I'm using Mailmate for half a year now and i'm also experiencing this issue. New sub folders I or someone else create don't sort automatically in alphabetical order but they do when I drag them to another folder.

    All the folders i create end at the bottom. I tried to remove the sortorder="manual" in /Users//Library/Application Support/MailMate/Mailboxes.plist but i can't find the mailmate folder or mailboxes.plist on my macbook.

    Can you help me? Looking forward to hear form you.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages