Folders with unread messages not in bold

User Help for Mozilla Thunderbird
Post Reply
lait
Posts: 6
Joined: November 3rd, 2021, 4:28 pm

Folders with unread messages not in bold

Post by lait »

I upgraded from 78.8.1 to 91 (I have gone from 91.1.* to the latest 91.3.1) and am experiencing this issue where folders (Inbox and other folders with incoming messages directed from filters) with unread messages are no longer in bold if the account folder was closed at the time new messages arrived. Everything works as in 78.8.1 if I leave the account folder open. I tried many different userChrome.css settings without any luck.

Is there a workaround? I prefer to leave the account folders closed to keep things tidy since I have several accounts and some accounts have lots of folders.

Thank you!
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: Folders with unread messages not in bold

Post by morat »

Try this:

Code: Select all

/* Thunderbird userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#folderTree treechildren::-moz-tree-cell-text(hasUnreadMessages-true),
#folderTree treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
  font-weight: bold !important;
}
http://kb.mozillazine.org/UserChrome.css

Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true, then restart.

Reference
http://searchfox.org/comm-esr91/source/ ... erPane.css

If the account folder doesn't set the "hasUnreadMessages-true" property, then you can't style that.

Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3080841
lait
Posts: 6
Joined: November 3rd, 2021, 4:28 pm

Re: Folders with unread messages not in bold

Post by lait »

morat - Thanks for the suggestion. Unfortunately that did not work for me.

You can follow these steps to see the issue:

1) Create a folder TBtest and set up a message filter to move incoming messages with string "test" in the subject to the folder TBtest.
2) Connect to the mail server and click on Get Messages to pick up any new messages. If there are messages in TBtest, mark them as Read so the folder is unbolded.
3) Close the account folder.
4) From another mail client such as TB on another PC or web-base mail client, send a new message with "test" string in the subject.
5) Click on Get Messages to pick up the new mail.
6) Open the account folder. The TBtest folder is unbolded. In TB 78 and earlier versions the folder would be bolded.

If in Step 3) you left the account folder open then TBtest folder would get bolded when you ran Step 5).

I'm convinced the bug has to do with TB not applying the bolding attribute if the folder was in the closed state.
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: Folders with unread messages not in bold

Post by morat »

I tried finding a similar issue in the following bug list.

Bug list - Component: Folder and Message Lists
http://bugzilla.mozilla.org/buglist.cgi ... ge%20Lists

Folders receiving new mail via filters are not bold
http://bugzilla.mozilla.org/show_bug.cgi?id=1739102
http://translate.google.com/

Folder not bold when using filters
http://bugzilla.mozilla.org/show_bug.cgi?id=1732451
http://bugzilla.mozilla.org/show_bug.cgi?id=573158#c19
Last edited by morat on November 10th, 2021, 9:09 am, edited 1 time in total.
lait
Posts: 6
Joined: November 3rd, 2021, 4:28 pm

Re: Folders with unread messages not in bold

Post by lait »

Actually this bug affects the Inbox as well. If you don't have any unread messages in your Inbox, or if you don't mind messing with it, you can disable the mail filter I described. The incoming messages will be found unbolded in the Inbox in the test I described.

This bugs is nasty in that it only shows up 1) when the account folder is closed, and 2) new mails are received after you started TB. To really muddy the waters, TB bolds all folders with unread messages at launch time. Folders that are bolded on launch that receive new messages remain bolded, regardless of whether the account folder is open or closed. Folders that are not bolded on launch that receive new messages will not be bolded if the account folder is closed.

I think the bolding of folders (with unread messages) on launch is the reason why some users think the bug is intermittent, or that their userChrome.css works, but in fact does not, since you need to restart TB for your userChrome.css changes to take effect.
gunrunnerjohn
Posts: 95
Joined: January 23rd, 2007, 7:24 pm

Re: Folders with unread messages not in bold

Post by gunrunnerjohn »

This is something I see as well. There is a small count of unread messages appended to the folder name, not very noticeable.

For example, something like this: FOLDER_NAME(1)

When you click on the folder, it's suddenly bold, like it should have been so I could find it in the long list!

I'm running Thunderbird 91.3.2 (32-bit)
lait
Posts: 6
Joined: November 3rd, 2021, 4:28 pm

Re: Folders with unread messages not in bold

Post by lait »

This bug turns out to be really annoying and has become a show stopper for me. I've reverted back to 78.14.0 on Windows with the --allow-downgrade parameter so that TB would read the profile data created by 91.*. I also created a registry entry to disable upgrade notifications so I won't get nagged into upgrading which was how I got into this mess in the first place.

I will check the release notes for 91 from time to time to see if this bug is fixed, and if it is, will give the latest TB another try.
gunrunnerjohn
Posts: 95
Joined: January 23rd, 2007, 7:24 pm

Re: Folders with unread messages not in bold

Post by gunrunnerjohn »

I hate to do it, but it looks like I'll have to consider downgrading as well.
lait
Posts: 6
Joined: November 3rd, 2021, 4:28 pm

Re: Folders with unread messages not in bold

Post by lait »

This bug is still not fixed in the latest 91.* (91.13.0) but looks like it's fixed in the latest 102.* (102.2.0).
gunrunnerjohn
Posts: 95
Joined: January 23rd, 2007, 7:24 pm

Re: Folders with unread messages not in bold

Post by gunrunnerjohn »

Yep, it's fixed on 102.x.x.x. I think there's probably too much rush to add fun new features and not as much attention paid to making sure old ones still work. :)
gunrunnerjohn
Posts: 95
Joined: January 23rd, 2007, 7:24 pm

Re: Folders with unread messages not in bold

Post by gunrunnerjohn »

I spoke too soon! The feature is broken again with 115.3.1! It works half the time.
gunrunnerjohn
Posts: 95
Joined: January 23rd, 2007, 7:24 pm

Re: Folders with unread messages not in bold

Post by gunrunnerjohn »

lait wrote: August 31st, 2022, 7:36 pm This bug is still not fixed in the latest 91.* (91.13.0) but looks like it's fixed in the latest 102.* (102.2.0).
They managed to break it again in 115.x.x, I wish they had a better testing methodology for these changes. :(
Post Reply