Images with transparency look wrong in the dash

Bug #1366266 reported by Alejandro J. Cura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Click Reviewers tools (obsolete)
Won't Fix
Wishlist
Unassigned
unity-scope-click (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

How to reproduce:
- Go to the store scope
- Select the "Music & Audio" department
- Scroll to the bottom

What happens: the cards with overlays on top of images look wrong if the image has transparent areas. Please see attached screenshot.

Revision history for this message
Alejandro J. Cura (alecu) wrote :
description: updated
Changed in unity-scope-click (Ubuntu):
status: New → Invalid
Revision history for this message
Michał Sawicz (saviq) wrote :

Well now, I'd say any image with transparency should just never show up in the dash. Putting transparent images in the shape is something we should kill with fire, when this problem doesn't occur.

Changed in unity8 (Ubuntu):
status: New → Opinion
Revision history for this message
Alejandro J. Cura (alecu) wrote :

Perhaps this should be checked instead when devs are uploading apps. I'm adding the review scripts to this bug then.

But then again, there are apps already in the store with icons with transparency.
And I suspect any scope taking images from a 3rd party webservice will not be checking if said images have transparency or not, so I think the case of transparent images in the dash will be common.

summary: - Overlay looks wrong over images with transparency
+ Images with transparency look wrong in the dash
Revision history for this message
Michał Sawicz (saviq) wrote : Re: [Bug 1366266] Re: Overlay looks wrong over images with transparency

W dniu 09.09.2014 o 21:39, Alejandro J. Cura pisze:
> Perhaps this should be checked instead when devs are uploading apps. I'm
> adding the review scripts to this bug then.
>
> But then again, there are apps already in the store with icons with transparency.

Yeah, I know it's a little late.

> And I suspect any scope taking images from a 3rd party webservice will not be checking if said images have transparency or not, so I think the case of transparent images in the dash will be common.

I don't think it will be too common, actually. The only images on the
web I can imagine that have transparency are icons and logotypes.
There's few cases where this will happen, will be known beforehand, and
the plan to support this use case is to disable the shape altogether
(currently spec'ed to be a scope-wide customization option, still to be
implemented).

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

How would one check if images have transparency in a robust manner? Can't the image format be any number of formats (png, jpg, svg, etc)?

Changed in click-reviewers-tools:
status: New → Incomplete
Revision history for this message
Alejandro J. Cura (alecu) wrote :

The check for transparency can be done with a library like ImageMagick.
Here's a small sample that checks for any transparent pixel in png, jpg, svg and gif: http://bazaar.launchpad.net/~alecu/+junk/detect-transparency/view/head:/check-transp.py

Changed in click-reviewers-tools:
status: Incomplete → New
Changed in click-reviewers-tools:
importance: Undecided → Wishlist
Changed in click-reviewers-tools:
status: New → Triaged
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I'm going to mark this as "Won't Fix"-- this is really up to the uploader to make sure it looks correct on the device. That said, if someone wanted to provide an MP, I would review it.

Changed in click-reviewers-tools:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.