wexond / browser-base

Modern and feature-rich web browser base based on Electron

Home Page:https://wexond.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable transparency on the browser window

anesuc opened this issue · comments

Is your feature request related to a problem? Please describe.
I have been trying to enable transparency on the browser window itself with no success. I have set transparent: true, on BrowserWindow set enable-transparent-visuals (and disable-gpu) with appendSwitch and as arguments as well (in package.json and after building when running the executable. I have removed all background colours from css and themes just to see if I can get it to work.

Describe the solution you'd like
Any suggestions are welcome. Ofcause an API would be nice, but I don't mind.

Describe alternatives you've considered
I have described them above

Additional context
Tested this on Linux. I am aware the support of this can be weird on Linux. However, I have gotten this to work with the same Electron version in another App.

Nevermind got it. Didn't add a delay when window opens!