Beta dot animation breaking fonts subpixel antialiasing on Windows in Chrome #18564
Labels
A11y
A-User-Menu
The top left main menu with the user's name and avatar
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
It seems that the animation
mx_Beta_bluePulse
used in classmx_BetaDot
is making an enormous layout trashing and is a second source of fonts not being correctly subpixel antialiased on Windows. The main source so far is the background-blur on left panel, which is being taken care of here: matrix-org/matrix-react-sdk#6262To reproduce proper behavior comment out class
.mx_BetaDot
inres/css/views/beta/_BetaCard.scss
and remove allbackdrop-filter
references from our css codebase.The other way to verify if rendering is proper is to look for layer borders checkbox which is accessible via Chrome Devtools cog menu (Rendering). Screenshots below:
Valid fonts rendering (properly antialiased) will have this kind of layer borders:
Invalid fonts rendering layer borders (it's super easy to just look at the bottom-right corner with icons):
The fonts rendering is irreproducible on anywhere except Windows and Chrome/Chromium, yet the layers part should be easily reproducible on any system using Chrome.
Related: matrix-org/matrix-react-sdk#6262 (gets rid of background-blur and replaces it with canvas, which doesn't trash the layout)
Related: element-hq/element-desktop#682
The text was updated successfully, but these errors were encountered: