Closed Bug 1668896 Opened 4 years ago Closed 4 years ago

Missing brighttext attribute for toolbars inside dialog windows

Categories

(Thunderbird :: Theme, defect, P2)

Tracking

(thunderbird_esr68 unaffected, thunderbird_esr78? fixed, thunderbird82? fixed)

RESOLVED FIXED
83 Branch
Tracking Status
thunderbird_esr68 --- unaffected
thunderbird_esr78 ? fixed
thunderbird82 ? fixed

People

(Reporter: aleca, Assigned: aleca)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

For those windows that don't have a #tabmail element, the brighttext attribute is not properly set when initialized.
List of windows:

  • Composer
  • Address Book

let's use the toolbox element to be sure we have toolbars to deal with.

Attachment #9179361 - Flags: review?(geoff)

Will this fix the missing brighttext on the tabbar-toolbar?

(In reply to alta88 from comment #2)

Will this fix the missing brighttext on the tabbar-toolbar?

No, this is a fix for another issue.

It seems like the current selector let toolbarSelector = "toolbox > toolbar:not([collapsed=true])"; doesn't consider toolbars indented in other toolbars, which is what the tabbar-toolbar is, being inside the tabs-toolbar.

Is there an issue opened for this? Does that child toolbar need the birghttext attribute? Do we have other similar situation with nested toolbars?

Attachment #9179361 - Flags: review?(geoff) → review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3ff58d971f5a
Fix missing brighttext attribute for toolbars inside dialog windows. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch

(In reply to Alessandro Castellani (:aleca) from comment #3)

(In reply to alta88 from comment #2)

Will this fix the missing brighttext on the tabbar-toolbar?

No, this is a fix for another issue.

It seems like the current selector let toolbarSelector = "toolbox > toolbar:not([collapsed=true])"; doesn't consider toolbars indented in other toolbars, which is what the tabbar-toolbar is, being inside the tabs-toolbar.

Is there an issue opened for this? Does that child toolbar need the birghttext attribute? Do we have other similar situation with nested toolbars?

unknown; yes; unknown. I will leave it to you to fix/followup, thanks.

Comment on attachment 9179361 [details] [diff] [review]
1668896-brighttext-attribute.diff

[Approval Request Comment]
Regression caused by (bug #): bug 1638233
User impact if declined: Composer, Address Book darktheme issues

Attachment #9179361 - Flags: approval-comm-esr78?
Attachment #9179361 - Flags: approval-comm-beta?

Comment on attachment 9179361 [details] [diff] [review]
1668896-brighttext-attribute.diff

[Triage Comment]
Approved for beta

Attachment #9179361 - Flags: approval-comm-beta? → approval-comm-beta+

(In reply to Magnus Melin [:mkmelin] from comment #6)

Comment on attachment 9179361 [details] [diff] [review]
1668896-brighttext-attribute.diff

[Approval Request Comment]
Regression caused by (bug #): bug 1638233
User impact if declined: Composer, Address Book darktheme issues

Further notable impact: Unreadable entries in email list when switching from dark mode to light mode (bug 1668989)

Comment on attachment 9179361 [details] [diff] [review]
1668896-brighttext-attribute.diff

[Triage Comment]
Approved for esr78

Attachment #9179361 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: