bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
13.56k stars 1.74k forks source link

Images with transparent backgrounds have black backgrounds on firefox (including opengraph previews) #5524

Open jms301 opened 2 months ago

jms301 commented 2 months ago

Describe the bug

When posting an image with a transparent background or a link to a page which has an opengraph image with a transparent background on firefox linux the background is black.

To Reproduce

Steps to reproduce the behavior:

  1. Attempt to make a post using firefox on linux linking to a page such as: https://en.wikipedia.org/wiki/Gartner_hype_cycle

Expected behavior

The open graph image has a background colour matching the linked page. This seems to work fine on:
https://www.opengraph.xyz/url/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FGartner_hype_cycle For example it should look like this: Screenshot from 2024-09-28 10-03-38

It looks like this: Screenshot from 2024-09-28 10-03-24

Details

elliott-king commented 1 month ago

Confirmed this on FF & Chrome (OSX), and on Android mobile. I'll take a crack at this.