Usetting enable-folders-sort makes folders order jump randomly

Steps to reproduce:

  1. Set up a notmuch account.

  2. Set

    query-map = …
    enable-folders-sort = false

    for it.

  3. Open Aerc and navigate through your folders up and down.

Observed behavior: the folders list in the sidebar jumps randomly almost each time you change directory. Expected behavior: the folder list stays unchanged (in the order in which query-map defines the folders).

Assigned to
9 months ago
8 months ago
No labels applied.

~ph14nix 9 months ago*

The version I use:

$ aerc  -v
aerc 0.15.1 +notmuch (go1.20.4 amd64 linux)

~rjarry REPORTED FIXED 8 months ago

Koni Marti referenced this ticket in commit 3459079.

~ph14nix 8 months ago

Thanks ~rjarry, I can confirm that the list stays unchanged now in my config.

But there's another thing: it's reversed now compared to the order in query-map. Is there an unintended reverse applied to the list somewhere?

~ph14nix 8 months ago

No, it's not exactly reversed. It's just some other order that's different from my query-map file, I can't immediately see what the ordering based on.

Register here or Log in to comment, or comment via email.