-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Description
-
Output of
node_modules/.bin/electron --version
:
in first bad version : 1.5.0
in latest beta : v4.0.0-beta.8
in lastest nightly : v4.0.0-nightly.20181010 -
Operating System (Platform and Version):
Linux Debian Jessie : Linux version 3.16.0-7-amd64 (debian-kernel@lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-10+deb8u1) ) Get Atom running from atom-shell #1 SMP Debian 3.16.59-1 (2018-10-03)
and also in
Linux Debian Buster : Linux version 4.18.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-29)) Get Atom running from atom-shell #1 SMP Debian 4.18.10-2 (2018-10-07) -
Output of
node_modules/.bin/electron --version
on last known working Electron version (if applicable):
v1.4.16
Expected Behavior
having a transparent background for the window
Actual behavior
having a black background for the window
To Reproduce
see https://gitlab.com/doom-fr/electron-transparency-bug.git
Screenshots
Activity
welcome commentedon Dec 4, 2018
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
codebytere commentedon Dec 4, 2018
We are no longer implementing bugfixes for versions of Electron <
1.8.x
; does this occur on new versions?doom-fr commentedon Dec 4, 2018
doom-fr commentedon Dec 5, 2018
Have also tried it on a Debian Buster machine (ssh -X).
The result is the same :
Seems to work under Ubuntu with 3.0.10;
But it does not work with 3.0.10 in Debian Buster (ssh -X)
[-]Transparency on Linux is broken between 1.4.16 and 1.5.0[/-][+]Transparency does not work on Linux Debian[/+]doom-fr commentedon Dec 7, 2018
Has someone succeed in reproducing the problem (or not reproducing!) on a Debian machine ?
Debian is a main distribution. If it doesn't work with it, it is a big problem. No ?
[-]Transparency does not work on Linux Debian[/-][+]Transparency does not work on Linux Debian (black background instead)[/+]doom-fr commentedon Dec 12, 2018
Sorry for close re-open
Just click bad button
doom-fr commentedon Jan 10, 2019
Just tested and it works in 2.0.16
But not in 3.1.0 nor in 4.0.1
doom-fr commentedon Jan 15, 2019
After some other tests, it seems that it works in
electron 4.0.1
, but we have to wait for at least 300ms before opening a window !!!@codebytere why should we need this ? Couldn't it be integrated into the
ready
event or another one, to wait just what is needed ?aistrych commentedon Jan 15, 2019
@doom-fr Setting 300ms delay and that's it? Do you have enabled hardware acceleration? If yes: does your machine support hardware acceleration? In my case delay is enough for virtual machine without hardware acceleration but for normal machines I need to add:
doom-fr commentedon Jan 15, 2019
@Astrych,
Not really. Rather, make a lot of tests, lost a lot of days, tried 10ms as said here, tried 10 times what is needed (100 ms) but does not tried more, make a lot of tests, realize that it works sometimes and make a lot of tests again to found just that !
I have now hardware acceleration enabled but it works with or without
--disable-gpu
.I use it with paper.js and it needs hardware acceleration. If not, it is very slow.
So now I have this in my package.json :
"start": "electron --enable-transparent-visuals ."
17 remaining items
ckerr commentedon Sep 30, 2020
For what it's worth, the workaround mentioned by @doom-fr at #16809 works for me.
zduronshawn commentedon Feb 8, 2021
if you're on win7, and the theme is windows basic theme, you should change your theme to windows aero theme, then , transparent will work .but i wonder is there a better way to fix it
Pevernow commentedon Feb 12, 2021
"--disable-gpu" and latency do make it work.
But I need to use webgl, which is not a good solution.
Is there any way to make transparency and webgl work on Linux at the same time?
shubham-root commentedon Feb 24, 2021
before your
app.on('ready', () => {..})
seems to do the trick for me on Ubuntu 18.04/Electron 11.2.3
electron-triage commentedon Mar 9, 2021
The Electron version reported on this issue is no longer supported. See our supported versions documentation.
If this is still reproducible on a supported version, please open a new issue with any other new information that a maintainer should know.
Thank you for taking the time to report this issue and helping to make Electron better! Your help is appreciated.
doom-fr commentedon Mar 10, 2021
Easy to wait more than two years without doing anything and tell that the version is not supported any more ...
In the last month users seems to encounter the problem.
@shubham-root & @Pevernow, can you confirm this is still an issue in the last release ?
Thanks.