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

win 10 截取 前需先隐藏窗口,我使用win.hide() 后截图依然显示窗口 #238

Open
list12318 opened this issue May 15, 2024 · 1 comment

Comments

@list12318
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.

@yykoypj
Copy link

yykoypj commented Jul 1, 2024

win.hide()需要时间隐藏,越慢的机子需要的时间越久。截图先setTimeout一下吧

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

2 participants