Closed Bug 813638 Opened 12 years ago Closed 12 years ago

Under Windows Classic Theme Thunderbird 17 title bar is same colour as window background

Categories

(Thunderbird :: Theme, defect)

17 Branch
All
Windows XP
defect
Not set
normal

Tracking

(thunderbird18 fixed, thunderbird19 fixed, thunderbird20 fixed, thunderbird-esr1718+ fixed)

RESOLVED FIXED
Thunderbird 20.0
Tracking Status
thunderbird18 --- fixed
thunderbird19 --- fixed
thunderbird20 --- fixed
thunderbird-esr17 18+ fixed

People

(Reporter: virgo, Assigned: Paenglab)

References

()

Details

(Whiteboard: [workaround in comment 1 set mail.tabs.drawInTitlebar to false][GS])

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20121119183901

Steps to reproduce:

Updated Thunderbird to version 17.


Actual results:

Under Windows XP with classic Windows theme Thunderbirds window title bar does not have correct colour (blue when active, dark gray when inactive).



Expected results:

Window title bar should be blue, when active and dark gray, when not inactive.
Component: Untriaged → Theme
Please can you provide a screenshot? Have you disabled the tabs? With hidden menu bar the tabs would draw in the title bar, then the title bar color change would make the tabs hard readable. To become the color changing title bar back you can do this: Go to Tools/Options.../Advanced/General and click on Config Editor... Then say yes to the warning and search for mail.tabs.drawInTitlebar. Double click it to change to false.
Attached image Screenshot
Here is the requested screenshot. Tabs are not disabled, but they are below the menu bar (isn't it default on Windows XP?). And menu bar is wisible. Setting mail.tabs.drawInTitlebar to false helped, but it should be default, when tabs are below menu bar.
For info I'm seeing exactly the same effect as reported in comment 2 on Windows 7 64-bit.

Setting mail.tabs.drawInTitlebar to false makes the title bar background correct and contain the correct text.

Setting mail.tabs.drawInTitlebar to true makes the title bar background incorrect and contain no text (so you can't see which account you are looking at).
Actually, after reading 

https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/mail.tabs.drawInTitlebar 

it's clear that the intended "functionality" of this option (to draw the tabs in the title bar when set to "true") isn't working either.
When you hide the menu bar the tabs are in title bar. You can then access the menu bar either by pressing the ALT key or with the mouse on the new button with the three bars, which should be shown on the right of the main tool bar, and then use the Application menu.
As I recall, windows classic theme acted like this bugs complaint.
I don't have that laptop availablr to check now, but the theme that worked correctly had "XP" in the theme name.
I see this for a long time but I thought it was already filed :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
The same (analogously) is true even with Classic View set in the Windows XP UI.  The point is that since this gratuitous UI change, we can no longer tell whether Thunderbird is the active app by looking at its title bar; in effect it no longer HAS a title bar.

Please provide a preference to turn off this change (and all future UI changes, preferably before releasing them!!)
(In reply to John David Galt from comment #9)
> Please provide a preference to turn off this change (and all future UI
> changes, preferably before releasing them!!)

Please check comment 1.
John:

Did flipping mail.tabs.drawInTitlebar to false fix the problem?

-Mike
Yes, thanks, that has fixed it for me.
I just did some tests, I can confirm this affects users of the Windows Classic theme on Windows XP and Windows 7.
Hardware: x86 → All
Summary: Under Windows XP Thunderbird 17 title bar is same colour as window background instead of blue, when active and dark gray, when not active. → Under Windows Classic Theme Thunderbird 17 title bar is same colour as window background
Whiteboard: [GS] → [workaround in comment 1 set mail.tabs.drawInTitlebar to false][GS]
Attached patch proposed fix (obsolete) — Splinter Review
This patch adds only on inactive window the inactivecaption color. I added also a rule which makes the menu text visible on inactive background color.

This is only a part of the fix. Maybe we should have a logic where the draw in title bar is on false when the menu is not on auto hide. Aero and Win8 default should stay as they are now because the menu bar is drawn below the tabs. But this would be out of my skills.

Or when draw in title bar is on true then the menu bar is on all this systems below the tabs. Draw in title bar is no system standard then we could also break the menu position standard.
Attachment #686201 - Flags: ui-review?(bwinton)
Attachment #686201 - Flags: review?(bwinton)
Comment on attachment 686201 [details] [diff] [review]
proposed fix

>+++ b/mail/themes/qute/mail/mailWindow1.css
>@@ -402,24 +402,29 @@
>+#messengerWindow[tabsintitlebar]:-moz-system-metric(windows-classic)
>+menubar > menu:-moz-window-inactive {

Since this is a continuation of the previous line and not a new selector, I think we want to indent it a little.  (I'll let you pick whether 2 or 4 spaces looks better.)

Aside from that, it looks good, so ui-r=me, and r=me!

Thanks,
Blake.
Attachment #686201 - Flags: ui-review?(bwinton)
Attachment #686201 - Flags: ui-review+
Attachment #686201 - Flags: review?(bwinton)
Attachment #686201 - Flags: review+
I've chosen 2px indentation.

[Approval Request Comment]
This could help to differentiate between active and inactive window under Classic also for ESR17.
Attachment #686201 - Attachment is obsolete: true
Attachment #690450 - Flags: approval-comm-esr17?
Attachment #690450 - Flags: approval-comm-beta?
Attachment #690450 - Flags: approval-comm-aurora?
Keywords: checkin-needed
Attachment #690450 - Flags: approval-comm-esr17?
Attachment #690450 - Flags: approval-comm-esr17+
Attachment #690450 - Flags: approval-comm-beta?
Attachment #690450 - Flags: approval-comm-beta+
Attachment #690450 - Flags: approval-comm-aurora?
Attachment #690450 - Flags: approval-comm-aurora+
I've just updated thunderbird from 10.0.12esr to 17.0.2esr and the title bar
was wrong until I set mail.tabs.drawInTitlebar to false. By wrong I mean
a)  colour didn't change when window changes between active/inactive
b)  no title text
c)  no thunderbird icon at the left
This is despite the tracking flags for this bug stating status-thunderbird-esr17: Fixed

I'm running 32-bit Windows XP pro using the classic theme.
For some reason this got fixed for me only now with latest nightly of 2014-04-29. It works regardless of draw_in_titlebar value.
The reason is bug 953204.
That's weird, bug 953204 seems to have broken it for me.  The menubar and tabbar background are not supposed to be the same.
This bug shouldn't be used for this issue.
John, please can you file a new bug for your problem, if it's on Daily or latest 31.0a2? Please also include screenshots.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: