Closed Bug 1682808 Opened 3 years ago Closed 3 years ago

Make the languageStatusButton in composer themable

Categories

(Thunderbird :: Theme, task)

Tracking

(thunderbird_esr78 fixed, thunderbird85 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
thunderbird_esr78 --- fixed
thunderbird85 --- fixed

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(2 files)

In composer, the languageStatusButton to change the spellcheck language uses the native button appearance:

  • On Mac is absolutely no feedback visible. Like it would be only text.
  • On Linux when hovering, depending of the Linux theme, the button has white text on white background. And the button is a bit tall which make the whole status bar tall.
  • On Windows with the dark TB theme the hover is almost not visible.

Using the toolbarbutton-1 class fixes the issue.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9193461 - Flags: review?(alessandro)
Comment on attachment 9193461 [details] [diff] [review]
1682808-languageStatusButton-themeable.patch

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

Looks good, thanks

::: mail/themes/shared/mail/messengercompose.css
@@ +1010,5 @@
>  }
> +
> +#languageStatusButton {
> +  margin-block: 1px;
> +  padding-block: 0;

nit: can we add the height: 22px; attribute here in the shared file, and only have the 18px variation in the macos file?
Attachment #9193461 - Flags: review?(alessandro) → review+

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

nit: can we add the height: 22px; attribute here in the shared file, and
only have the 18px variation in the macos file?

I like to let it like this. First we don't have to redefine it in the platform. And second, like this it's clear there are platform dependent variations. When it's in shared I'd suppose change the value here changes it everywhere.

Target Milestone: --- → 86 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/a7c5ceb9cb95
Make the languageStatusButton in composer themable. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Awesome, thank you Richard!

Comment on attachment 9193461 [details] [diff] [review]
1682808-languageStatusButton-themeable.patch

[Approval Request Comment]
User impact if declined: on some platforms and themes invisible fuctionality
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9193461 - Flags: approval-comm-beta?

[Approval Request Comment]
User impact if declined: on some platforms and themes invisible fuctionality
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9193717 - Flags: approval-comm-esr78?

Comment on attachment 9193461 [details] [diff] [review]
1682808-languageStatusButton-themeable.patch

[Triage Comment]
Approved for beta

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

Comment on attachment 9193717 [details] [diff] [review]
1682808-languageStatusButton-themeable-ESR.patch

[Triage Comment]
Approved for esr78

Attachment #9193717 - 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: