Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows上,先hide窗口再截图,会截到窗口的虚影,监听窗口hide事件再截图也无效 #235

Open
MrSteins opened this issue Apr 22, 2024 · 3 comments

Comments

@MrSteins
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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
Copy link
Owner

这个问题可能解决不了,你是需要截取指定窗口吗?还是只截取桌面?

@MrSteins
Copy link
Author

@nashaofu 截取桌面

@list12318
Copy link

@MrSteins 你好,我也遇到了这个问题,截图前需先隐藏窗口,我使用了win.hide() 但依然有窗口残影,请问你解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants