Manually-Sort-Folders
Manually-Sort-Folders copied to clipboard
Please update for Thunderbird 115
Today Thunderbird 115 was released and the addon was disabled as outdated.
Please update it.
In fact I just changed the manifest in latest release - and it seems working - but who knows... manually_sort_folders-2.3.0-tb.zip
I second this request.
ditto...
Yes, it would be very nice to use this addon in future.
I support this requirement as well
I read an online article that said that folders can be reordered in Supernova, is that misinformation?
You're right. I tested it on the mac- and windows-client. If you are in the account settings you can use drag & drop
as far as i can see only partly correct. you can sort the accounts but not folders.
Today Thunderbird 115 was released and the addon was disabled as outdated.
Please update it.
In fact I just changed the manifest in latest release - and it seems working - but who knows... manually_sort_folders-2.3.0-tb.zip
@gjf your manifest change accepted by TB115, accounts can be sorted but not closed and folders can not be changed.
@tidebre67 As I told - it's just a quick trick to make it working. Of course the job should be done by author, not me.
as far as i can see only partly correct. you can sort the accounts but not folders.
That's right. I tested TB115 last night, and then downgraded to version 102 again.
@gjf you are right. my idea was only to mention status. @itagagaki-san , guess all would be glad if you can make it work again.
I had assumed that Thunderbird's redesigned user interface would allow folder reordering as a matter of course. I don't understand why they don't allow it forever.
Aside from that, the UI code has been rewritten in 115, so I'll have to investigate whether this traditional add-on mechanism can be applied in the same way. It will take some time to analyze.
as far as i can see only partly correct. you can sort the accounts but not folders.
You're right, sorry. I only used the sorting of the accounts, not the sorting of the folders. Therefore I did not notice it
I had assumed that Thunderbird's redesigned user interface would allow folder reordering as a matter of course. I don't understand why they don't allow it forever.
I just saw that there was a blog post last summer explaining how to sort folders manually. At first I thought, "wow, they finally managed to support this basic feature natively!" But no, they only explained how to do it with this plugin. https://blog.thunderbird.net/2022/08/video-tip-how-to-manually-sort-all-your-thunderbird-folders/#c
They are probably thinking, "Well, there is a plugin for that, so we don't need to implement that feature".
Anyway, thanks for your continuous support!
I did a little analysis and found out that Supernova always sorts folders alphabetically. All efforts of the add-ons will be flushed down.
Thunderbird is an open source project, so there may be a way to submit improvements that would prevent this and allow to replace the folder reordering method. But I think I would rather submit a modification that allows Thunderbird to sort folders itself than do that.
But it's not easy either way...
Thanks Itagaki for chiming in. I agree that adding addon support in Thunderbird SuperNova for this functionality would probably take as much effort as submitting a patch to fix the issue in Thunderbird proper.
For the record, there was a plan that I outlined here: https://bugzilla.mozilla.org/show_bug.cgi?id=1606664, with some thoughts about how to implement it "properly" in Thunderbird. But I don't know whether it's worth investing time and effort when the UI is being significantly overhauled.
One question that I have is: is SuperNova still using the XUL tree widget? https://bugzilla.mozilla.org/show_bug.cgi?id=193314 was closed years ago on the basis that the XUL tree is going to be phased away anyhow, meaning the bug should be fixed as part of a potential folder pane rewrite. I don't know if that rewrite is on the horizon, has been done already, and/or whether sorting folders is part of the plan there.
I also don't know how to convey the importance of sorting folders to the Thunderbird team. My previous attempt at improving things year ago for addons was here: https://bugzilla.mozilla.org/show_bug.cgi?id=1359410 and then someone decided that sorting accounts was important enough to become a built-in functionality. But I don't know why the same decision was not made for folders. I'll send out a couple emails to find out. Thanks!
Please do that. Maybe a couple of emails will make them pay attention to the significant interest among new users of 115 in getting back the freedom to set the folder order the way we want it (and that's almost always NOT alphabetically).
Re: thunderbolt 115
I'm not a user of this plugin from before, but do like my folders in a certain order. It appears this can be done from the accounts setting screen by just dragging/dropping the accounts in the order desired.
This still doesn't resolve the issue of ordering folders, especially if you have many of them, so hopefully this plugin will get updated for 115.
FWIW, one can set the order by prefixing a letter(number?) in front of the folder name. It sorts it alphabetically.
Please correct me if I'm wrong, but if I understood @itagagaki and @protz correctly, there is no way so as to make the add-on work again in TB 115 because the new Supernova user interface as we know it just does not allow for the reordering of folders. This is why @itagagaki said the only way to achieve this would be to modify TB proper.
After almost a week with six e-mail accounts, three news servers, 18 local e-mail folders and 15 rss folders and some reflection on the topic I think I do not need the add-on any more. I certainly would prefer to have everything as it used to be, but I can also live with that, too.
So I suggest you only try to fix this in TB proper if it does not take too much effort and if resistance in the TB team is low enough to get it into core easily.
I worked on the update a bit, it is too early to make a PR to this repo, but feedback would be nice: Manually-Sort-Folders.zip
The "option" for sorting dialog are now under add-on:
I only updated the folder sort options, (the first and the last tab in the manual sort folder options do not do anything)
Sorting works here. Does it work for you?
@jobisoft Edition Windows 10 Home Version 22H2 TB 115.0 (64-Bit)
John, reordering of folders works perfect.
@itagagaki : My version is based on the POC I provided in topicbox. It moves away from the WindowListener API and follows the update guides:
- locale conversion
- XUL option page conversion
- remove WindowListener API in favour of dedicated Experiments
Will you be interested in accepting these changes in a PR?
I convert the XUL options page to HTML as best as I could. I tried something new regarding the icons, but I am not impressed with the performance, so I will change that again. The issue is that TB core uses context-fill
in its SVGs, but support is still not enabled by default for WebExtensions (see svg.context-properties.content.enabled
pref), because the standard has not yet been officially accepted. The OBJECT approach I tried still requires to pack clones of the SVG (because WebExtensions cannot access these chrome://
resources), but I do not have to modify them. But since the performance is so poor, I will resort back to modifed SVGs.
Since the chances are high, that this will get integrated in core, I would like to minimize the work on the update and therefore propose to remove the functionality to sort accounts, beacause that is already supported by core. We could either drop the first tab in the Manual-Sort-Folder Options page or make it print an information about how accounts can be sorted in Thunderbird (drag'n'drop in accounts setting). What do you think about this?
The version 3.1 fixes a few minor issues (new tabs did not always get patched) and brings back the "Open Folder at startup" feature (pure WebExt).
I currently have no idea how to implement the other extra feature "Hide Folder Icons".
Manually-Sort-Folders-v3.1.zip
John
Fix sorting glitch by making sure sortKeys are unique. Manually-Sort-Folders-v3.2.zip
Sorting works here. Does it work for you?
I have tried installing Manually-Sort-Folders-v3.2.zip.
Sorting works fine, but only on the top level. Subfolders aren't shown and therefore can't be sorted.
Subfolders aren't shown and therefore can't be sorted.
Seems doable, the logic is already there. The UI needs to be able to properly display subfolders in the tree view in the options page. That will be the main work. I currently pause my work until I have feedback from @protz or @itagagaki about whether they are interested in accepting a PR.
@jobisoft Sorry, I haven't had time to look at your POC yet. You have already tried so many things. I appreciate it. I would like @protz to decide if he wants to incorporate your concept into this add-on.
The first tab -- Sort Accounts -- I think this is no longer needed and can be removed, and I don't think it's necessary to show instructions on how to do this in Thunderbird.
The ideal I had in mind was that where we could intuitively move (drag and drop) accounts and folders around the folder pane to do whatever we wanted, but I wonder if that was ever considered for Supernova. That is unfortunate.
Sorry, in a total rush but
- yes of course to accepting PRs, this is great and will 100% merge and test
- yes to ditching account sorting -- less code to maintain, happier life
Thanks SO MUCH John! what a relief
tried [Manually-Sort-Folders-v3.2.zip] The great feature of opening thunderbird to the last selected folder also seems to work fine! 👍
@protz @itagagaki @jobisoft
About "Manually-Sort-Folders-v3.2.zip"
I hope open and start Thunderbird 115 with the last selected parent folder.
I hope to be able to choose a parent folder in "Use a custom folder" with the ability to start Thunderbird 115 with the last parent folder selected. e.g "Blog & News", "Local Folder"
This is a feature that works in Manually sort folders 2.3.0 / Thunderbird 102.13.0.
@kiki-ja
Link [Feature Request] Add Manually-Sort-Folders icon to toolbar #200
@kiki-ja
Hi Guys,
Like all of you I would like the add-on updated for v115 please.
I would also like to try add-on v3.20, I have downloaded the zip file, opened it, but cannot seem to install it. Help gratefully addpreciated.