Page MenuHomePhabricator

Resizing browser window causes thumbnail displaying incorrectly
Closed, ResolvedPublic

Description

Usually, when user opens an image with transparent background in media viewer (example), it displays grey and white squares instead of transparent background:

1.png (621×1 px, 72 KB)

But if browser window is resized when viewing the image, at some point checker background is not displayed:

1.png (604×631 px, 38 KB)

The image is displayed over the black background, which makes it hard to read.

Event Timeline

I will fix it. That should be easy.

Change 333474 had a related patch set uploaded (by Phantom42):
Fix displaying of transparent background

https://gerrit.wikimedia.org/r/333474

nikitavbv added a project: good first task.
Tgr subscribed.

Thanks @Phantom42!

Do you want to look at T154862 as well? It's a very similar issue.

Change 333474 merged by jenkins-bot:
Fix displaying of transparent background

https://gerrit.wikimedia.org/r/333474

@Tgr Thank you! I will take a look at it.