Closed
Bug 1410712
Opened 7 years ago
Closed 7 years ago
Toolbarbutton not white in titlebar when disabled
Categories
(Thunderbird :: Theme, enhancement)
Thunderbird
Theme
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 58.0
People
(Reporter: Paenglab, Assigned: Paenglab)
Details
Attachments
(9 files)
When you have a toolbarbutton in the titlebar, for example the Chat button and have the chat tab selected, the button icon isn't white but light grey. This comes from the toolkit rule where the disabled toolbarbutton get the GrayText color. We need to override this.
Assignee | ||
Comment 1•7 years ago
|
||
Always, also when disabled, inherit the color from toolbar.
Comment 2•7 years ago
|
||
Another review which I don't understand :-( "have a toolbarbutton in the titlebar"?? How do I do that? I managed to put the chat button into the menubar with customise. Then, with the chat tab active, that button is faintly grey, with the patch it's still grey, but maybe a bit darker. I've never seen a white button. So please include STR and a screenshot.
Assignee | ||
Comment 3•7 years ago
|
||
You need drawInTitlebar and a dark titlebar color. You can in customize mode move buttons beside the Lightning buttons.
Comment 4•7 years ago
|
||
I'd say this is wrong then? The chat button is almost invisible, certainly not white.
Assignee | ||
Comment 5•7 years ago
|
||
Yes, it should be white and because it's disabled a bit transparent. Not the focus of this bug but the chat button shouldn't be disabled, when the main tab isn't focused, to better show when a new chat message waits.
Comment 6•7 years ago
|
||
Well, I see no difference with and without the patch. So comment #0 talks about white and light grey, but I see very dark grey for a disabled chat button, maybe due to white + transparency on black background, but it's exactly the same with a current Daily. How do I see the difference due to the patch?
Assignee | ||
Comment 7•7 years ago
|
||
A black background wouldn't be optimal to see a difference. Maybe try try a red or green background. Then the icon should not be grey but a lighter red or green. With my blue titlebar Without patch I see almost no icon without the patch.
Comment 8•7 years ago
|
||
No difference, with or without the patch on Win7. Please attach a screenshot since I've spent way too much time on this already.
Assignee | ||
Comment 9•7 years ago
|
||
Above without and below with patch
Comment 10•7 years ago
|
||
OK, and on Win7?
Assignee | ||
Comment 11•7 years ago
|
||
Win7 Aero and Basic are not possible to change the window color that TB uses white icons. With Classic I got this one. Again without patch is above, with patch below.
Comment 12•7 years ago
|
||
I'm not sure what's happening, but Classic has a gradient and the patch makes no difference. To get a bar without gradient, I need to use a high contrast theme and there again is no difference as you can see in attachment 8920909 [details].
I can rs the patch, but I'd prefer to see some action. Do I have to build in Win10 for that?
Comment 13•7 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #12) > ... and the patch makes no difference. That's not quite true. With classic and high contrast the colour difference is #110 or #111 or something equally unnoticeable.
Assignee | ||
Comment 14•7 years ago
|
||
In Classic mode choose color settings, then click on the titlebat of the sample in the dialog. Now you see 1. color and 2. color where you can set both titlebar colors.
Comment 15•7 years ago
|
||
I managed to get rid of the gradient. The colours identical with and without the patch.
Assignee | ||
Comment 16•7 years ago
|
||
Okay, checked deeper. On Win 7 Classic I had no build with the patch and I only changed the rules in inspector and fell in a trap. Win 7 Classic has already a inherit rule. But now I have the solution: In your Basic theme, change the titlebar text color to red for example and test again.
Comment 17•7 years ago
|
||
In the Basic theme you can't change those colours: https://social.technet.microsoft.com/Forums/en-US/4e89ac4c-6852-4622-be91-ea8e4937314a/basic-theme-cant-change-title-bar-color?forum=w7itproui So I need to build on Windows 10, right? Classic and the high contrast themes derived from it don't show any difference.
Comment 18•7 years ago
|
||
Comment on attachment 8920872 [details] [diff] [review] toolbarbuttonInheritColor.patch I've spent far too much time with this. I won't spend another hour building on Win10. I hope the screen shots for Win10 are real and not some trickery in the inspector. On Windows 7 there is absolutely now way to see any difference. rs=jorgk.
Attachment #8920872 -
Flags: review?(jorgk) → review+
Assignee | ||
Comment 19•7 years ago
|
||
Then, I'm doing something wrong. It's possible.
Assignee | ||
Comment 20•7 years ago
|
||
Win10 is real. Thanks for the endurance testing it.
Keywords: checkin-needed
Comment 21•7 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #19) > But now I have the solution: In your Basic theme, change the titlebar ***text***(!!!) > color to red for example and test again. OK, I can see the effect now when changing the text colour. I tried to change the titlebar colour itself.
Comment 22•7 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/97ec98c4dd53 Let the .toolbarbutton-1 always inherit the color from toolbar. r=jorgk
Updated•7 years ago
|
Target Milestone: --- → Thunderbird 58.0
You need to log in
before you can comment on or make changes to this bug.
Description
•