Skip to content

Chrome/Edge 84: Some SVGs aren't appearing

Summary

Some SVGs are not appearing on merge requests and issues sitewide - but intermittently.

Steps to reproduce

The bug appears on a merge request or issue, but it seems to be intermittent. By the time I click on Inspect, the page has loaded.

@leipert's steps to reproduce:

  1. Go to this #230433 (closed) page in Chrome
  2. Go to another page e.g. youtube.com in the same tab
  3. Press the browser back button

What is the current bug behavior?

The SVGs do not appear, but the space is there and is clickable. Tooltips appear.

What is the expected correct behavior?

The SVGs should show up.

Relevant logs and/or screenshots

I've seen it a couple of times for MRs as well. On the discussion, the "add emoji" button isn't appearing but is clickable.

image

Also from the reaction section:

image


This is occurring for this new issue

image

When I inspect the "Add quote" element, I see

image

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited by Lukas Eipert