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 Normal.Nov 22 2014, 2:22 AM
bzimport added a project: MediaViewer.
bzimport set Reference to bz57620.
bzimport added a subscriber: Unknown Object (MLST).
Tgr created this task.Nov 26 2013, 8:40 PM

(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.

Tgr added a comment.Dec 25 2013, 12:22 AM

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.

Tgr added a comment.Jan 13 2014, 9:06 AM
  • Bug 59974 has been marked as a duplicate of this bug. ***
Tgr added a comment.Feb 28 2014, 8:09 PM
  • 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 Normal 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 Normal.Dec 4 2014, 11:23 AM