|
From: Francois V. <fvo...@fr...> - 2019-10-12 12:41:43
|
Le 12/10/2019 à 14:19, Francois Vogel a écrit :
> Can you start debugging this? It's hard for me to guess since I don't
> reproduce.
>
> The first thing to check is that in wish the following command:
> event generate {} <Motion> -x 20 -y 20 -warp 1
> moves the pointer at the correct position (20,20) in screen coordinates.
> I'm sure it does so this should be a timing/event issue specific to
> the test. Then, look at how the test can be improved to make it more
> robust (against... what exactly...?)
A possibility could be that the first idle 'Dowarp' not being scheduled
because the '.' window is not mapped (but why would it work then the
second time...) Anyway:
Can you do the following tests and report results:
Add "puts [winfo ismapped .]" in bind-34.2 between lines 637 and 638
just at the beginning of the -body part of the test, run the test and
provide output result.
Really hard guessing, thanks for your help.
F.
|