You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
31-x-ybug 🪲has-repro-gistIssue can be reproduced with code at https://gist.github.com/platform/windowsstatus/confirmedA maintainer reproduced the bug or agreed with the feature
@kingyue737 yes - it is win.setBackgroundMaterial('mica'). I believe you may erroneously have included an extra set in the call. If this is not the case, please include a reproducible sample for us to continue triage as we've tested this extensively on Windows and it has worked as expected thus far.
To be specific, you can't set the background material of a window if its initial background material is none or undefined.
And I found if the initial background material of a window is not none, even if you set it back to none via setBackgroundMaterial, it will still trigger the bug mentioned in #42393.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
31-x-ybug 🪲has-repro-gistIssue can be reproduced with code at https://gist.github.com/platform/windowsstatus/confirmedA maintainer reproduced the bug or agreed with the feature
Activity
codebytere commentedon Aug 18, 2024
@kingyue737 yes - it is
win.setBackgroundMaterial('mica'). I believe you may erroneously have included an extrasetin the call. If this is not the case, please include a reproducible sample for us to continue triage as we've tested this extensively on Windows and it has worked as expected thus far.[-][Bug]: `setsetBackgroundMaterial` does not work[/-][+][Bug]: `setBackgroundMaterial` does not work[/+]kingyue737 commentedon Aug 19, 2024
@codebytere Sorry I forgot the reproduction: https://gist.github.com/kingyue737/d2ca0f1d5318f5915538cb05879bfb81
As I stated before, the only thing I did was add
mainWindow.setBackgroundMaterial('mica')which does not work.kingyue737 commentedon Aug 22, 2024
To be specific, you can't set the background material of a window if its initial background material is
noneorundefined.And I found if the initial background material of a window is not
none, even if you set it back tononeviasetBackgroundMaterial, it will still trigger the bug mentioned in #42393.Innei commentedon Aug 23, 2024
Has any solution?
kingyue737 commentedon Aug 23, 2024
The original bug was confirmed #41824 four months ago. I guess it's not easy to fix this.
Then I wanted to find a workaround via
setBackgroundMaterialbut found this issue. Currently, disable eitherbackgroundMaterialormaximizableelectron-issue-triage commentedon Nov 22, 2024
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
kingyue737 commentedon Nov 22, 2024
bump
2 remaining items
Super1Windcloud commentedon Dec 15, 2024
The thing is, in most of my templates, mainWindow.setBackgroundMaterial("mica") or mainWindow.setBackgroundMaterial("acrylic") doesn't work.
Super1Windcloud commentedon Dec 15, 2024
@codebytere , can this problem be solved?
VIXI0 commentedon Jan 7, 2025
#38466 (comment)
here is a workaround
electron-issue-triage commentedon Apr 8, 2025
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
kingyue737 commentedon Apr 8, 2025
bump
electron-issue-triage commentedon Jul 8, 2025
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
kingyue737 commentedon Jul 8, 2025
bump