New issue
Advanced search Search tips

Issue 762085 link

Starred by 4 users

Issue metadata

Status: Untriaged
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----


Previous locations:
gerrit:7097


Sign in to add a comment

PolyGerrit UI: unreadable messages with Chrome/Chromium on linux

Reported by in.gottw...@gmail.com, Aug 25 2017

Issue description

Affected Version: 2.14.2-2868-gce3c6ce9fc

What steps will reproduce the problem?
1. Use Chrome (60.0.3112.113) or Chromium (60.0.3112.101) on some Linux Systems (arch linux in my case) and visit: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/454545
2. Open/unfold a longer message in the messages section (doesn't happen for really short ones like "added to CC")

What is the expected output?
A normal formatted and readable message.

What do you see instead?
A message where there's a newline after every character.
Like:
P
a
t
c
h
 
S
e
t
 
1


Please provide any additional information below.

A colleague of mine was not able to reproduce this on a Ubuntu 16.04 with Chromium.


However, if I use the chrome debugger and disable "max-width" in the CSS block below, that fixes the issue in the UI:

====== cut ======
.gr-formatted-text-1 p.gr-formatted-text, .gr-formatted-text-1 ul.gr-formatted-text, .gr-formatted-text-1 blockquote.gr-formatted-text {
    max-width: 80ch;
}

====== cut ======
 
Screenshot from 2017-08-25 15-32-45.png
128 KB View Download
Forgot to mention: It doesn't occur with Firefox.

Comment 2 by logan@google.com, Sep 5 2017

Components: -PolyGerrit
This looks like a chromium bug.

Comment 3 by logan@google.com, Sep 5 2017

Project: chromium
Moved issue gerrit:7097 to now be issue chromium:762085.
Update: 
It doesn't happen on the Chromium Gerrit anymore.
Looks like they've updated the gerrit theme and the font-family now includes "Roboto" which somehow fixed the behavior.
It still happens on a default gerrit 2.14.4 installation with default PolyGerrit UI.
Found out that it uses the emojione-color-font for rendering emojis. (I assume as a replacement for the non-free 'Segoe UI Emoji' referenced in the font-family).

On my system I had the arch AUR package emojione-color-font-1.3-1 installed (which installs https://github.com/eosrei/emojione-color-font/releases/download/v1.3/EmojiOneColor-SVGinOT-Linux-1.3.tar.gz).
As soon as I removed it and restarted chrome, gerrit was rendering normal again.

Not sure if this is a bug in the font or something is wrong inside chrome/blink with the font width calculation of some fonts.
I'm assuming blink because it also happens with Vivaldi 1.12.955.38 (Stable channel) (64-bit) but not with Firefox.
Status: Untriaged (was: New)
Issue moved from a project with a different set of status labels. "New" is not a supported status in /p/chromium, so these ended up in a black-hole.

Sign in to add a comment