GregVido / mica-electron

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

Mica is not working properly on Electron v27.0.0 #29

Open Nakus0426 opened 11 months ago

Nakus0426 commented 11 months ago

At Electron v27.0.0, after using setMicaEffect(), the background color has changed to pure black.

After testing, it can work normally at Electron v26.3.0.

GregVido commented 11 months ago

Hi, I repaired it, unfortunately I can't find a current solution to make the maximize button work, I'm still researching it, I hope to find it one day

Nakus0426 commented 11 months ago

Thank you. But I haven't seen any new versions on NPM, haven't they been released yet?

GregVido commented 11 months ago

yes, sorry I just did that

Nakus0426 commented 10 months ago

When I upgraded to version 1.5.2, the Mica effect worked under Electron version 27.0.1, but I noticed some other issues:

  1. When the window loses focus, the Mica effect of the window will be highlighted with a white border, and even if the window regains focus, it will not disappear. Only when the window is minimized or reopened will it return to normal.
  2. The minimized and maximized animation effects of the window have disappeared

https://github.com/GregVido/mica-electron/assets/41540888/1ed57049-bc9d-45cd-bb00-18c30fbd9d5b

Mubarrat commented 8 months ago

I have these same issues.