OCA / web

Odoo web client UI related addons
GNU Affero General Public License v3.0
897 stars 1.84k forks source link

[16][web_responsive] Bold doest whows as normal text in HTML fields #2841

Open marcelogpereira opened 1 month ago

marcelogpereira commented 1 month ago

Module

web_responsive

Describe the bug

When editing or adding new bold text to a html field (for example the email composer, or a normal html field), the text just shows as normal text, without the bold

To Reproduce

Affected versions: 16.0

Steps to reproduce the behavior: 1.Open a HTML field or expand the send message composer 2.Add some bold text 3.It will be normal text....

Expected behavior It should show a bold instead of normal text

CarlosRoca13 commented 1 month ago

I'm seeing all ok...

bold

The test is done on web runboat

filcius commented 1 month ago

Here is my experience, it may help to find the cause of your problem.

The standard "Bold" font-weight in Odoo Community is 500. 500 will work if the font-family is Roboto, which is the case in Odoo, but may not be the case with other font-families, which may be different in emails.

Worst, the email reader may not be able to render Roboto and fallback to another font-family, but still keep font-weight 500, which does not exists in most fonts.

pedrobaeza commented 1 month ago

I was able to reproduce it a couple of times, but I don't remember where and I'm not able to replicate it now.