electron: [Bug]: Electron 18.x drawing issues in MacOS Virtual Machines
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
18.0.3
What operating system are you using?
macOS
Operating System Version
12.0.1, 12.3.1
What arch are you using?
x64
Last Known Working Electron version
17.4.0
Expected Behavior
Normal drawing/rendering of the window contents, including on Virtual Machine deployments of MacOS (currently tested on VMWare Fusion).
Actual Behavior
Any electron window comes up blank/white. Attempts to interact with the window will cause some portions to update but not all of it. In our test application, when we loaded the dev tools they were also buggy (e.g., select the console tab and multiple instances of the console were drawn inside each other).
The issue doesn’t appear to exhibit on standard MacOS installations. Maybe some kind of software rendering vs. hardware rendering (WAG)?
Steps followed to reproduce:
First, check out the quick start guide on the virtualized MacOS install:
git clone https://github.com/electron/electron-quick-start
cd electron-quick-start
Then update all of the packages to the latest packages, including Electron to 18.0.0 or later:
yarn upgrade --latest --interactive
Then run the electron instance and observe the drawing issue:
yarn start
Testcase Gist URL
No response
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 23 (4 by maintainers)
ok. Please note here that the app was packaged with electron-builder, with the dev tools disabled.
I wonder if this is related to #33508
It’s worth noting I was able to reproduce the exact same behavior by running the electron-quick-start on macOS 12.3.1 via Parallels, so this doesn’t appear to be isolated to just VMWare Fusion Pro.