Mail: Avatars with transparency shown with avatar placeholder background

Created on 21 Jun 2019  路  7Comments  路  Source: nextcloud/mail

Expected behavior

Avatars with transparent background are shown with the avatar circle being either white (or transparent, but likely doesn鈥檛 look good in dark mode) so that the logos / icons are shown correctly.

Actual behavior

The randomly generated color from the avatar placeholder shows through in the background. This happens for quite a lot of mails:
avatars with transparent background avatar transparency
Shown are e.g. Meetup.com, Mattermost, FSFE, Open Source Initiative, Tito, Pretix, Eventbrite and Twitter.

Info

Mail app version: current master
Nextcloud Version: current master


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

0. to triage bug stale

Most helpful comment

Can reproduce it again, on cloud.nc, also same issue as in Contacts at https://github.com/nextcloud/contacts/issues/1066

Pull request to fix this by @hanzi at https://github.com/nextcloud/contacts/pull/1415

All 7 comments

I wonder if this is coming from the nc-vue lib or our code. We actually show either the placeholder or the image: https://github.com/nextcloud/mail/blob/374ad54ea0c1956d77b032817111b3a0af10e1cc/src/components/Avatar.vue#L23-L24

@skjnldsv @juliushaertl @nextcloud/vue can you shed light on that? ^

Not sure if that is set somewhere, but I also cannot reproduce

@juliushaertl on mail Jan showed it to me. :man_shrugging:

Can鈥檛 reproduce it on cloud.nextcloud.com either so if you can鈥檛 reproduce it on your local installs, I guess it might be some misconfiguration of my dev instance. :)

Can reproduce it again, on cloud.nc, also same issue as in Contacts at https://github.com/nextcloud/contacts/issues/1066

Pull request to fix this by @hanzi at https://github.com/nextcloud/contacts/pull/1415

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

b1f17773 picture b1f17773  路  5Comments

stevleibelt picture stevleibelt  路  3Comments

ChristophWurst picture ChristophWurst  路  3Comments

jancborchardt picture jancborchardt  路  4Comments

Quix0r picture Quix0r  路  5Comments