sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40399
[Bug 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime
I have to check, wether the click()-delay fix works as well here.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1631720
Title:
[1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec
runtime
Status in Sikuli:
In Progress
Bug description:
********* RaiMan tested and confirmed
after about 40 seconds runtime, the type command pauses about 10
seconds at key release for each following single character/key.
This is the same problem as we had with click actions with OSX 10.10.
It was caused by some strange behavior of the Java Robot deep inside.
At this time, type() was not yet affected. But now it seems to be.
this is my test script, that recovers from the situation with an
intermediate highlight.
# TextEdit must be running with an open text window
switchApp("textedit")
x = "asdfghjklyxcvbnmqwertzuiop"
type("a", Key.CMD)
type(Key.BACKSPACE)
wait(1)
start = time.time()
for i in range(50):
type(str(int(time.time() - start)) + " ")
for c in x:
lap = time.time()
type(c)
if time.time()-lap > 1:
getCenter().grow(50).highlight(2)
type("\n")
After detecting the extended delay, the problem is fixed by the
highlight.
------------------------------------------------------------------
After Upgrade to Sierra the Type Command seems very Slow
Is anyone else finding this or is it just my old Mac struggling
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1631720/+subscriptions
References