mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Splashscreen transparency does not work on Linux #741
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@danatcofo commented on GitHub (Dec 20, 2021):
This is an electron issue. Not sure if this is the original link when I found it last year or not but don't see it being fixed soon.
https://github.com/electron/electron/issues/15947
@jeffdod commented on GitHub (Dec 20, 2021):
Thanks. Yeah, I'm not going to hold my breath waiting for this one to be fixed, based on what I saw in that thread.
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!