windows上,先hide窗口再截图,会截到窗口的虚影,监听窗口hide事件再截图也无效
MrSteins opened this issue · comments
MrSteins commented
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Reproduce repository
You can fork the repository below to test
https://github.com/nashaofu/electron-screenshots-issue
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
- OS: [e.g. iOS]
- Electron [e.g. 16.0.0]
- electron-screenshots [e.g. 0.5.0]
Additional context
Add any other context about the problem here.
nashaofu commented
这个问题可能解决不了,你是需要截取指定窗口吗?还是只截取桌面?