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

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

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

  • 2 àwọn èsì
  • 3 ní àwọn ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ 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?

Ọ̀nà àbáyọ tí a yàn

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!

Ka ìdáhùn ni ìṣètò kíkà 👍 2

All Replies (2)

more options

Ọ̀nà àbáyọ Tí a Yàn

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.