web icon indicating copy to clipboard operation
web copied to clipboard

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

Open marcelogpereira opened this issue 1 year ago • 4 comments

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

marcelogpereira avatar Jun 03 '24 11:06 marcelogpereira

I'm seeing all ok...

bold

The test is done on web runboat

CarlosRoca13 avatar Jun 04 '24 10:06 CarlosRoca13

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.

filcius avatar Jun 04 '24 12:06 filcius

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.

pedrobaeza avatar Jun 04 '24 18:06 pedrobaeza

Has anyone resolved this yet?

I have an installation that has got this for some months now and I can't pin point where the culprit is. I suspect this is indeed css related. Could it be some fluke in the DB? I tried replicating the issue on other odoo installations but can't so I am at a loss.

Any pointers to where to look?

peterromao avatar Aug 28 '24 01:08 peterromao