Page MenuHomePhabricator

Image with transparent background and same color as the overlay is invisible
Closed, ResolvedPublic

Description

See [[commons:File:Copyleft.svg]] with the v0.2 UI for example.


Version: unspecified
Severity: normal
URL: https://commons.wikimedia.org/wiki/Copyright#mediaviewer/File:Copyleft.svg/5

Details

Reference
bz57620

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:22 AM
bzimport added a project: MediaViewer.
bzimport set Reference to bz57620.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

See [[commons:File:Copyleft.svg]] with the v0.2 UI for example.

Please use comment 0, also known as the bug description, to describe the bug.

A screenshot would be helpful here.

The bug title says it all: the viewer has a black background, when viewing an image which has only black and transparent parts, the screen is pitch black. You can try it here: https://commons.wikimedia.org/wiki/Copyright#mediaviewer/File:Copyleft.svg/5

(In reply to comment #2)

The bug title says it all: the viewer has a black background, when viewing an
image which has only black and transparent parts, the screen is pitch black.

If the bug summary says it all, copying and pasting it into the bug description should be quick and easy. :-)

You can try it here:
https://commons.wikimedia.org/wiki/Copyright#mediaviewer/File:Copyleft.svg/5

Thanks for the link. I had to enable the beta preference on Commons in order for the link to work. I'll upload a screenshot momentarily.

  • Bug 59974 has been marked as a duplicate of this bug. ***
  • Bug 62063 has been marked as a duplicate of this bug. ***

Quick note to say that it happens with both PNG too (no reason why it would not, but saying):

https://en.wikipedia.org/wiki/Khmer_numerals#mediaviewer/File:Khmer%20numerals.png

Change 117090 had a related patch set uploaded by Gergő Tisza:
Add checkered background to make black-on-transparent images visible

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

Change 117090 merged by jenkins-bot:
Add checkered background to make black-on-transparent images visible

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

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:24 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:23 AM