
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 windowobject 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.
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
windowobject can normally work ,such asrewin.minimize()andrewin.restore()works well , onlyrewin.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.