GregVido / mica-electron

Library to add mica effect of windows 11 in electron app
Apache License 2.0
126 stars 7 forks source link

If set frame: false, the window is black #2

Closed Nevodev closed 1 year ago

Nevodev commented 1 year ago

const win = new MicaBrowserWindow({ width: 800, height: 600, effect: EFFECT.BACKGROUND.MICA, theme: PARAMS.THEME.AUTO, autoHideMenuBar: true, show: false, });

If you add a line "frame: false", the windows is black

GregVido commented 1 year ago

It's a problem of Windows 11, the API no work when window didn't have frame

GregVido commented 1 year ago

I will find a solution but I'm not sure I'll succeed, I'll let you know

Nevodev commented 1 year ago

I will find a solution but I'm not sure I'll succeed, I'll let you know

Thanks very much!

GregVido commented 1 year ago

I will find a solution but I'm not sure I'll succeed, I'll let you know

Thanks very much!

I think it's impossible because when I remove frame with C++, electron crash, sorry ...

GregVido commented 1 year ago

I will find a solution but I'm not sure I'll succeed, I'll let you know

Thanks very much!

Hello, I have update the Github, it's now possible !

Nevodev commented 1 year ago

I will find a solution but I'm not sure I'll succeed, I'll let you know

Thanks very much!

Hello, I have update the Github, it's now possible !

Okay!