Splashscreen transparency does not work on Linux #739

Open
opened 2026-01-29 16:47:21 +00:00 by claunia · 0 comments
Owner

Originally created by @jeffdod on GitHub (Dec 20, 2021).

I'm building an Electron.NET app for Windows, Mac, and Linux. On Windows and the Mac, my .png file with transparency works fine as a splashscreen when specified in the electron.manifest.json file under the "splashscreen" : "imageFile" option.

However, on Linux (specifically, Ubuntu 21.04), although the splashscreen displays, the transparency in the .png file is not observed, and instead I see a black background where the transparency should be.

I looked at other splashscreen examples on the internet, and I also looked at the various options in the electron-builder documentation, but didn't see any way to tweak this for Linux.

Are transparent .png files allowed on Linux as the splashscreen images?

Originally created by @jeffdod on GitHub (Dec 20, 2021). I'm building an Electron.NET app for Windows, Mac, and Linux. On Windows and the Mac, my .png file with transparency works fine as a splashscreen when specified in the electron.manifest.json file under the "splashscreen" : "imageFile" option. However, on Linux (specifically, Ubuntu 21.04), although the splashscreen displays, the transparency in the .png file is not observed, and instead I see a black background where the transparency should be. I looked at other splashscreen examples on the internet, and I also looked at the various options in the electron-builder documentation, but didn't see any way to tweak this for Linux. Are transparent .png files allowed on Linux as the splashscreen images?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#739