Electron Version 28.1.0.
What operating system are you using? Windows
Operating System Version window 11
What arch are you using? x64
Last Known Working Electron version No response
Actual Behavior Actually, if I create a window with parameters like frame=false and transparent=true, when I call the hide method and then the show method again, there will be flickering, similar to page refresh.
This is written based on the code in the Quick Start document for Electron, which is basically the same as the official one. I just added keyboard shortcuts and window property settings
To make it easier for observation, I set the background color to white.
In the video, I repeatedly press the shortcut keys for hide and show. Sometimes there is no flickering issue, but most of the time the window keeps flickering.
I want to prevent flickering when calling the show method on a hidden window