Closed Bug 1745554 Opened 2 years ago Closed 2 years ago

[Windows] Wrong folder pane icons and message thread colors in High Contrast Mode

Categories

(Thunderbird :: Theme, defect)

Desktop
Windows 11
defect

Tracking

(thunderbird_esr91 unaffected)

RESOLVED FIXED
97 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: aleca, Assigned: Paenglab)

Details

(Keywords: access)

Attachments

(4 files, 1 obsolete file)

Attached image hg-new-email.png

STR

  • On Window 11 set High Contrast Theme to "Dusk"
  • Receive a new message

The message text is dark and not properly readable.

Attached patch 1745554-HCT-unread.patch (obsolete) — Splinter Review

This happens too on the other Windows since the Highlight to SelectedItem change which also changed the -moz-cellhighlighttext colour. But honestly, I don't know why I've chosen this colour then when implementing it.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9254914 - Flags: review?(alessandro)
Summary: WIndows 11 High Contrast Theme uses wrong color for new unread messages → WIndows\ High Contrast Theme uses wrong color for new unread messages
Summary: WIndows\ High Contrast Theme uses wrong color for new unread messages → WIndows High Contrast Theme uses wrong color for new unread messages
Comment on attachment 9254914 [details] [diff] [review]
1745554-HCT-unread.patch

Review of attachment 9254914 [details] [diff] [review]:
-----------------------------------------------------------------

This fixes that scenario, but there are other adjacent scenarios in which the HGC don't work well.
Attaching screenshots here as we should tackle them all together.
Attachment #9254914 - Flags: review?(alessandro) → feedback+

When there are unread emails in a folder and the Folder Pane is not selected, the folder icon is dark.

Attached image hg-unselected-row.png

When a row is selected, but the focus is on another pane, the icons of that row are dark.

Summary: WIndows High Contrast Theme uses wrong color for new unread messages → [WIndows] Wrong folder pane icons and message thread colors in High Contrast Mode

This should fix both issues. I also fixed that when a new message arrives and the folder is selected the icon has the same colour as the background. We're very limited with colours and we can only use the SelectedItemText for this.

Attachment #9254914 - Attachment is obsolete: true
Attachment #9255201 - Flags: review?(alessandro)
Attachment #9255201 - Attachment description: and focused has the sa → 1745554-HCT-unread.patch
Attachment #9255201 - Attachment is patch: true
Comment on attachment 9255201 [details] [diff] [review]
1745554-HCT-unread.patch

Review of attachment 9255201 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, thanks.

::: mail/themes/windows/mail/messenger.css
@@ +90,2 @@
>      --toolbarbutton-active-background: SelectedItem;
>      --toolbarbutton-active-bordercolor: SelectedItemText;

Should we also remove this?
Attachment #9255201 - Flags: review?(alessandro) → review+

(In reply to Alessandro Castellani [:aleca] from comment #6)

::: mail/themes/windows/mail/messenger.css
@@ +90,2 @@

 --toolbarbutton-active-background: SelectedItem;
 --toolbarbutton-active-bordercolor: SelectedItemText;

Should we also remove this?

No, they are used for the buttons in the main toolbar and other places. The background variable for the header buttons too.

Target Milestone: --- → 97 Branch
Summary: [WIndows] Wrong folder pane icons and message thread colors in High Contrast Mode → [Windows] Wrong folder pane icons and message thread colors in High Contrast Mode

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1cdf5f28b208
Remove special high contrast unread message rules. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: