Closed Bug 1481544 Opened 6 years ago Closed 6 years ago

Column headers not drawn correctly (invisible) on Windows 7 Classic

Categories

(Toolkit :: Themes, defect, P2)

60 Branch
defect

Tracking

()

VERIFIED FIXED
mozilla63
Tracking Status
thunderbird_esr60 --- affected
firefox-esr52 --- unaffected
firefox-esr60 --- verified
firefox61 --- wontfix
firefox62 --- verified
firefox63 --- verified

People

(Reporter: klk745, Assigned: Paenglab)

References

Details

(Keywords: regression)

Attachments

(3 files, 4 obsolete files)

Attached image tb60_column_headers.png (deleted) —
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180621121604 Steps to reproduce: I manually updated from TB 52 to TB 60 on Windows 7 with the Classic UI theme. Actual results: The column headers aren't anymore differentiable from the rest of the message list. See the attached screenshot. Expected results: The column headers should have at least grey dividers so that they look different from the rest of the message list, as seen here: https://www.heise.de/imgs/18/2/4/7/8/3/2/6/thunderbird-60-photon-fc1b72940c3ca4a5.png
To clarify: I'm refering to the column headers with "Von|Betreff|" respectively "From|Subject" and so on.
Flags: needinfo?(richard.marti)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Summary: Thunderbird 60 column header design broken → Thunderbird 60 column header dividers missing
This is a toolkit issue with Windows 7 Classic. On Windows 7 Basic or Aero all is okay. The same happens in Firefox's Bookmarks Library. We use the same code as Firefox for such elements -> redirecting to toolkit.
Component: Theme → XUL Widgets
Flags: needinfo?(richard.marti)
Product: Thunderbird → Toolkit
Summary: Thunderbird 60 column header dividers missing → Column headers not drawn correctly (invisible) on Windows 7 Classic
Version: 60 → 60 Branch
Component: XUL Widgets → Themes
Priority: -- → P2
changeset: 4b8c60ce984e2ad0b69ac72fc969f1de32c389df pushlog_url: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=6d82e132348fbe33cf3eb7c85c485083c50c6bb9&tochange=4b8c60ce984e2ad0b69ac72fc969f1de32c389df 2018-08-16T13:07:38: DEBUG : Found commit message: Bug 1423453 - Remove -moz-border-*-colors where possible. r=dao MozReview-Commit-ID: JbvngOk18dR
Blocks: 1423453
Flags: needinfo?(richard.marti)
It seems that on Windows's not default themes not the native -moz-appearance:treeheadercell is used but instead the CSS styling, weird. Dão, would you have this styling back for @media (-moz-windows-default-theme: 0) in toolkit? If not, I'll style this in TB.
Flags: needinfo?(richard.marti) → needinfo?(dao+bmo)
Since ESR60 is affected here, it would be easier to do this in TB.
We can add back a CSS border, but not with -moz-border-*-colors because that's not supported anymore.
Flags: needinfo?(dao+bmo)
Attached patch bug1481544.patch (obsolete) (deleted) — Splinter Review
Okay, this is the patch for 63.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9001746 - Flags: review?(dao+bmo)
Attached patch bug1481544-ESR60-62.patch (obsolete) (deleted) — Splinter Review
And this for ESR60. This should apply to beta too.
Attachment #9001748 - Flags: review?(dao+bmo)
Comment on attachment 9001746 [details] [diff] [review] bug1481544.patch >+/* treecol styling for non-default themes */ >+@media (-moz-windows-default-theme: 0) { Use @media (-moz-windows-classic)?
Attachment #9001746 - Flags: review?(dao+bmo)
Comment on attachment 9001748 [details] [diff] [review] bug1481544-ESR60-62.patch >--- a/toolkit/themes/windows/global/listbox.css >+++ b/toolkit/themes/windows/global/listbox.css >@@ -65,16 +65,35 @@ > .listheader-icon { > margin-inline-end: 2px; > } > > .listheader-label { > margin: 0px !important; > } > >+/* listheader styling for non-default themes */ >+@media (-moz-windows-default-theme: 0) { ditto
Attachment #9001748 - Flags: review?(dao+bmo)
Attached patch bug1481544.patch for 63 (obsolete) (deleted) — Splinter Review
Ah yes, this seems to apply to HC themes on Win7 too.
Attachment #9001746 - Attachment is obsolete: true
Attachment #9001900 - Flags: review?(dao+bmo)
Attached patch bug1481544-ESR60-62.patch for ESR60 and 62 (obsolete) (deleted) — Splinter Review
Patch for ESR60 and 62.
Attachment #9001748 - Attachment is obsolete: true
Attachment #9001901 - Flags: review?(dao+bmo)
Comment on attachment 9001900 [details] [diff] [review] bug1481544.patch for 63 >+/* treecol styling for non-default themes */ Just remove this comment as it's not really helpful and also slightly wrong.
Attachment #9001900 - Flags: review?(dao+bmo) → review+
Comment on attachment 9001901 [details] [diff] [review] bug1481544-ESR60-62.patch for ESR60 and 62 >--- a/toolkit/themes/windows/global/listbox.css >+++ b/toolkit/themes/windows/global/listbox.css >@@ -65,16 +65,35 @@ > .listheader-icon { > margin-inline-end: 2px; > } > > .listheader-label { > margin: 0px !important; > } > >+/* listheader styling for non-default themes */ ditto >--- a/toolkit/themes/windows/global/tree.css >+++ b/toolkit/themes/windows/global/tree.css >@@ -210,16 +210,37 @@ > > .treecol-image:hover:active { > padding-top: 1px; > padding-bottom: 0; > padding-inline-start: 2px; > padding-inline-end: 0; > } > >+/* treecol styling for non-default themes */ ditto
Attachment #9001901 - Flags: review?(dao+bmo) → review+
Attached patch bug1481544.patch for 63 (deleted) — Splinter Review
Addressed comment.
Attachment #9001900 - Attachment is obsolete: true
Attachment #9001906 - Flags: review+
Approval Request Comment [Feature/Bug causing the regression]: bug 1423453 [User impact if declined]: user doesn't see the column headers correctly [Is this code covered by automated tests?]: No [Has the fix been verified in Nightly?]: patch is about to land [Needs manual test from QE? If yes, steps to reproduce]: in bookmarks library check the column headers under Windows 7 Classic/HC [Is the change risky?]: no [Why is the change risky/not risky?]: only CSS in a media query [String changes made/needed]: no
Attachment #9001901 - Attachment is obsolete: true
Attachment #9001910 - Flags: review+
Attachment #9001910 - Flags: approval-mozilla-esr60?
Attachment #9001910 - Flags: approval-mozilla-beta?
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/337ba2284d5c Style the treecol with CSS on Windows Classic and HC themes. r=dao
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Flags: needinfo?(richard.marti)
(In reply to Tim Nguyen :ntim from comment #19) > Does listheader in richlistbox.css need this fix as well ? Inside listheader are treecol used which are styled by tree.css or for the in-content pages the in-content CSS. I see no problem with today Nightly on Win7 Classic.
Flags: needinfo?(richard.marti)
Comment on attachment 9001910 [details] [diff] [review] bug1481544-ESR60-62.patch for ESR60 and 62 Not a recent regression and it's the very end of the 62 beta cycle, but I don't see any good reason not to uplift this minor css fix limited to win7.
Attachment #9001910 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
Confirmed the issue over the 62.0b17 version. Based on steps mentioned at Comment 16; fix verified on 62.0b19 and 63.0a1 (2018-08-21) on Windows 7 using the basic/classic theme.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Comment on attachment 9001910 [details] [diff] [review] bug1481544-ESR60-62.patch for ESR60 and 62 Simple CSS fix to improve things on Windows classic themes. Approved for ESR 60.2.
Attachment #9001910 - Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
Verified on 60.2 ESR as well.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: