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

2019/12/25 v1.9.10 Beta8 新版本bug #206

Closed
hello-xiao opened this issue Dec 25, 2019 · 1 comment
Closed

2019/12/25 v1.9.10 Beta8 新版本bug #206

hello-xiao opened this issue Dec 25, 2019 · 1 comment
Labels
Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Settled 🌴 完成 Happy ending for both human beings and issues themselves

Comments

@hello-xiao
Copy link

获取截图权限失败,已经开启了“后台弹出权限”
Screenshot_2019-12-25-17-51-57-868_org autojs aut
Screenshot_2019-12-25-17-57-52-655_com miui secur

@SuperMonster003
Copy link
Owner

此问题源于代码重构时
将首次申请截图权限的方法放在了 OCR 识别倒计时的线程里

OCR 识别线程在 Toast 方案正常的情况下
存活时间基本不超过 100ms
而截图权限申请到完成需要的时间通常需要 200ms 以上
在申请完成之前就随着 OCR 线程一起被强制中断
导致截图权限申请失败

v1.9.10 已经尝试修复了此问题
亦即将首次申请方法放到了合适的位置 且 非子线程内

如果问题复现 可继续反馈
感谢支持

@SuperMonster003 SuperMonster003 added Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Feedback Awaited 🕒 等待反馈 Waiting for the feedback from issue creater and issue will be closed if duration is over one month labels Jan 1, 2020
@SuperMonster003 SuperMonster003 added Settled 🌴 完成 Happy ending for both human beings and issues themselves and removed Feedback Awaited 🕒 等待反馈 Waiting for the feedback from issue creater and issue will be closed if duration is over one month labels Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Settled 🌴 完成 Happy ending for both human beings and issues themselves
Projects
None yet
Development

No branches or pull requests

2 participants