asweigart / asweigart/PyGetWindow
.activate() sometimes throw error
- Dominant language
- Python
- Stars
- 422
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description

As the picture shows ,when I active the Typora window ,it throw the error message ,with the yellow flash in the dock icon ,and fail to active.
The bug is not 100% appear , just like 10%? this two lines code run several times , the environment is "Typora" app on the screen ,and lost focus .
When the error appear, the `window`object can normally work ,such as `rewin.minimize()` and `rewin.restore()` works well , only `rewin.activate()`failed.
And it also appear when I active "edge browser" app , and "windows Explorer" app(I'm not sure about this translation name , or "windows file resources explorer"?)
I'm not sure whether it is app conflict occur this ,and now , I use "force to minimize' and "restore" the target window to avoid this problem.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.