Closed Bug 1720041 Opened 3 years ago Closed 3 years ago

HTML toolbar shows up in plaintext mode with `Compose in HTML format` unchecked in account settings

Categories

(Thunderbird :: Message Compose Window, defect, P3)

Thunderbird 91

Tracking

(thunderbird_esr78 unaffected)

VERIFIED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- unaffected

People

(Reporter: thomas8, Assigned: Paenglab)

References

(Regression)

Details

(Keywords: regression, ux-mode-error)

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1720038 +++

Regression range:
Per Bug #1720038, this problem appeared in Daily 2021-07-09, not seen on 2021-07-08.

I verified it's not seen on 2021-07-07 and seen on 2021-07-11.
Tested on 91.0a1 (2021-07-11) (64-bit)

STR

  1. ≡ > Account Settings > YourAccount > Composition & Addressing > uncheck: [ ] Compose in HTML Format to compose with plain text editor
  2. Select YourAccount in folder pane, then Write

Actual Result (see screenshot):

  • HTML formatting toolbar shows with most, but not all options disabled.
  • Variable width is irritatingly selected in Font selector (but correctly not applied)
  • Set font size button is enabled and functional, changes font size on screen (but correctly not sent as HTML, so it won't apply).

Expected Result

  • Hide formatting toolbar as we did until some days ago, as per current design user cannot use it for plain text.
  • If possible, figure out why some options are still enabled, and why Variable font is wrongly showing.
No longer depends on: 1720038
Keywords: ux-mode-error

I've confirmed the regression range between 8th and 9th of July, which makes it this:
https://hg.mozilla.org/comm-central/pushloghtml?fromchange=a3b5e92bc304&tochange=98cc2530f612

I backed out the suspicious looking bug 1719558
https://hg.mozilla.org/comm-central/rev/4d556740abd845c1efd9633d7ddc12a60c815d59
and the problem was gone.

Most likely something went wrong with this observer here: observes="cmd_renderedHTMLEnabler"

Flags: needinfo?(richard.marti)
Flags: needinfo?(alessandro)

Thanks José for finding the regression. It's not an observer issue. The display: flex; simply overrides the hidden="true" when in plaintext.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(richard.marti)
Flags: needinfo?(alessandro)
Attachment #9230644 - Flags: review?(alessandro)
Regressed by: 1719558
Whiteboard: [regression range: 91.0a1 (2021-07-08 - 2021-07-09)]
Version: Trunk → Thunderbird 91
Attachment #9230644 - Flags: review?(alessandro) → review+
Target Milestone: --- → 91 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c83e10ec2319
Set the display: flex; on the FormatToolbar only in composer's HTML mode. r=aleca

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

Verified in MacOS Daily 0712, thanks very much indeed.

Awesome teamwork, thanks everyone! Such a joy to see swift action after making bugs actionable! :-)

Verified FIXED on 91.0a1 (2021-07-12) (64-bit) Win10, and per comment 5 on MacOS.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: