New mail some accts not always color coding w/userChrome

User Help for Mozilla Thunderbird
Post Reply
Shemja
Posts: 88
Joined: January 19th, 2011, 11:35 am

New mail some accts not always color coding w/userChrome

Post by Shemja »

I'm still having problems with Thunderbird not properly following my userChrome code across all my accounts for new mail in the folder pane. Many times on some accounts, always the same ones, it will not make my new mail green until I click on the folder. It reverts to my default color of white, not even my unread mail color of blue. Nor does the highlight on new/unread mail activate on those folders until I click on it, yet on the one I use most frequently the colors function properly.

They're all imap. It doesn't matter if I have that account selected or not or if mail picks up while I'm working in TB or on another program. It appears that it is most frequently happening when I do not have Thunderbird as my working window, so, not focused, but it also happens in other accounts I'm not working in when I'm in TB. I tried to account for focus or not in my userChrome settings.

This is what I currently have. I also tried bare bones code and taking out the newMessages-true with subfoldersHaveUnreadMessages because that one seems to just contradict itself and probably won't work anyway, but no matter what I do I keep seeing this behavior.

Ideas?

Code: Select all

/* Unread Mail */

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true), 
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true, selected), 
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true, selected) {
	font-weight: normal !important;
	color: DodgerBlue !important; /*Orchid*/
	background-color: Black !important;
}


/* Read Selected Mail */
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, selected),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, selected, focus) {
	font-weight: normal !important;
	color: GoldenRod !important; /*Orchid*/
	background-color: Black !important;
}

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected, focus), 
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessage-true, subfoldersHaveUnreadMessages-true),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true, selected),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true, selected, focus), 
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessage-true, subfoldersHaveUnreadMessages-true) {
	font-weight: normal !important; 
	color: Lime !important;
}



/* on a collapsed thread, if the top level message is read, but the thread has
 * unread children, underline the text. Seems to put black background behind unread folders. 
 */
treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
  text-decoration: underline;
}
 
Shemja
Posts: 88
Joined: January 19th, 2011, 11:35 am

Re: New mail some accts not always color coding w/userChrome

Post by Shemja »

Well, it looks like it's happening on all folders when mail comes in while I'm working in another program. When I click back on TB the mail doesn't change unless I click on the actual folder. Got any ideas for what I need to change I my code?
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: New mail some accts not always color coding w/userChrome

Post by morat »

Your issue sounds like an app bug, not a styling problem.
Shemja
Posts: 88
Joined: January 19th, 2011, 11:35 am

Re: New mail some accts not always color coding w/userChrome

Post by Shemja »

OK. Thanks. How do I report it? The last time I looked, reporting a bug seemed far too technical for me to understand.
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: New mail some accts not always color coding w/userChrome

Post by morat »

Try toggling the hardware acceleration.

Tools > General > Use hardware acceleration when available

That may fix the repaint problem.

Bugzilla
http://bugzilla.mozilla.org/
http://bugzilla.mozilla.org/page.cgi?id=etiquette.html
http://bugzilla.mozilla.org/page.cgi?id ... iting.html
Shemja
Posts: 88
Joined: January 19th, 2011, 11:35 am

Re: New mail some accts not always color coding w/userChrome

Post by Shemja »

Nope. I can't figure it out. It's random with no rhyme or reason. Ugh.
Shemja
Posts: 88
Joined: January 19th, 2011, 11:35 am

Re: New mail some accts not always color coding w/userChrome

Post by Shemja »

morat wrote:Try toggling the hardware acceleration.

Tools > General > Use hardware acceleration when available

That may fix the repaint problem.

It's already on. Maybe I'll try toggling it off. Thanks for the links.
Shemja
Posts: 88
Joined: January 19th, 2011, 11:35 am

Re: New mail some accts not always color coding w/userChrome

Post by Shemja »

I've narrowed the behavior down to it happening when my computer monitor is off or I'm working outside Thunderbird. Is there something I should code in userChrome to make it so my colors appear when Thunderbird is not the working window when it downloads?
Shemja
Posts: 88
Joined: January 19th, 2011, 11:35 am

SOLVED: New mail some accts not always color coding w/userCh

Post by Shemja »

SOLUTION:

I had some errors in my original code and too many directions. I fixed the errors and stripped down to use just the code below and all my new mail across all accounts finally seems to be working correctly all the time, whether working in TB or not when mail downloads.

Code: Select all

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true)  {
   font-weight: normal !important; 
   color: Lime !important;
}
Post Reply