Open Bug 1718534 Opened 3 years ago Updated 2 years ago

Not disabling styling buttons when styling is fixed by a paragraph state

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

People

(Reporter: henry-x, Unassigned)

References

Details

Steps to reproduce

  1. Open a new HTML message composition.
  2. Select "Heading 1" paragraph state.
  3. Type some text.
  4. Click the "Bold" toolbar button.

Result

The "Bold" button is checked after step 2. Which is expected.

After step 4, the "Bold" button becomes unchecked. If you open the Format -> Text Style menu, it will show "Bold" as unchecked.

It will become checked again when typing another character or reselecting some text.

Expect

The "Bold" button should be disabled entirely, such that step 4 does nothing.

The same goes for the other heading states, and similarly for the "Address" state and the "Italic" styling. If the paragraph state fixes some styling, then the UI should disable changing that styling.

At the very least, the UI should switch back immediately to show the fixed styling.

See Also: → 1718227, 1718225, 1716840

The same applies to the "Preformat" state and trying to select "Variable Width" font.

NOTE: There are commented out test lines that can be uncommented when this is fixed https://searchfox.org/comm-central/search?q=1718534&path=&case=true&regexp=false

You need to log in before you can comment on or make changes to this bug.