electron: [Bug]: Window background material isn't working after minimizing
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
25.1.0
What operating system are you using?
Windows
Operating System Version
windows 11 22H2 - 22621
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
When using BrowserWindow with the following settings:
backgroundColor: '#00000000',
backgroundMaterial: "mica",
autoHideMenuBar: true,
frame: false,
resizable: false,
transparent: false,
After minimizing the window (using alt+tab or whatever) and showing it again, I want it to show like this, with the mica background material.
Actual Behavior
If after minimizing the window is completely hidden from the screen, than when I show it again (by clicking it in the taskbar or using alt+tab) than the background material isn’t showing properly:
Testcase Gist URL
https://gist.github.com/ttnn5876/78eacb07ec9b819e784d722e77e18eca
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 17 (2 by maintainers)
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 is fixed in latest supported versions of Electron. I can no longer reproduce it after following the provided repro steps. If there is a new issue, you’re free to open a new issue on the tracker.
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!