This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Where can I change the maximum recent folders in Thunderbird version 78?

  • 2 odgovori
  • 3 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao condliffe1

more options

I saw and learned how to change the maximum number of recent folders in older version of Thunderbird (<68) by changing the value in the omni.ja file. I just updated and then checked the new version 78.2.2; those values do not exist. How can I change the maximum number of recent folders displayed in Thunderbird?

I saw and learned how to change the maximum number of recent folders in older version of Thunderbird (<68) by changing the value in the omni.ja file. I just updated and then checked the new version 78.2.2; those values do not exist. How can I change the maximum number of recent folders displayed in Thunderbird?

Izabrano rješenje

I am going to answer this myself.

I opened up omni.ja and did a lot of grepping and reading code. While I was reading code, I saw several references to pref("mail.folder_widget.max_recent") and totally missed what it meant. Then I finally got it--Mozilla finally put it in the config settings!!

To change the value of max recent folders, I went into Options | General | Config Editor and entered max_recent in the search. Voila! Done!

Enjoy!

Pročitajte ovaj odgovor sa objašnjenjem 👍 2

All Replies (2)

more options

Odabrano rješenje

I am going to answer this myself.

I opened up omni.ja and did a lot of grepping and reading code. While I was reading code, I saw several references to pref("mail.folder_widget.max_recent") and totally missed what it meant. Then I finally got it--Mozilla finally put it in the config settings!!

To change the value of max recent folders, I went into Options | General | Config Editor and entered max_recent in the search. Voila! Done!

Enjoy!

more options

I found this, too, however it isn't quite the whole story.

I increased my "recent folders" setting to 35, but I still noticed that I was still getting less folders. It appears that there is also a maximum age for a folder for it to be considered "recent"

after a bit of digging, I found the file

modules\folderUtils.jsm

in the Omni.ja library. (a zip file than you can extract into a folder structure containing the Thunderbird code)

This contains the function getMostRecentFolders >>>>>> function getMostRecentFolders(aFolderList, aMaxHits, aTimeProperty) {

 let recentFolders = [];
 const monthOld = Math.floor((Date.now() - 31 * 24 * 60 * 60 * 1000) / 1000);

>>>>>>

This constant puts an upper limit on the age of a recent folder at 31 days.

So, if you want to have older folders in your recent list, you need to update this value, changing "31" to your preferred max age and then rebuild the omni.ja file.