[check] MacOS 10.13.2: Large MouseDown Extended Delays while playing Web App after about 1 minute --- workarounds

Bug #1739534 reported by mark
52
This bug affects 8 people
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

************ workarounds:

use this to start the IDE from a command line:
java -jar /Applications/SikuliX.app/Contents/Java/sikulix.jar

or use the IDE as usual, but do not run from inside the IDE, but in parallel from a Terminal session (command line)
<path to your setup folder>/runsikulix -r yourScript.sikuli

Since this seems to be some serious problem deep down in the Java Robot implementation with respect to OS X 10.13, a fix might take some time.

The symptom:
about 60 seconds after the first Robot action, the robot extensively delays any mouse and keyboard actions and seems to do some features erroneously or even not at all.

------------------------------------------

from related bug: https://bugs.launchpad.net/sikuli/+bug/1447096

***************************************************************

Sikuli 1.1.1 / 1.1.2. MacOS 10.13.2 64bit

Extended Mouse Down delays when running script from sikuli IDE (not specifically in a Mac app), after a short while (one minute maybe?).

The documented workaround is to run the Sikuli IDE from the command line, however, I receive the error:

[error] RunTimeINIT: *** terminating: Java version must be 1.7 or later!

I have both Java 9 and Java 8 on my machine. I tried doing the step mentioned here: https://answers.launchpad.net/sikuli/+question/658718:

"/usr/libexec/java_home -v 1.8 should switch to Java 8"

But unfortunately no success and I get the same error.

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.0
summary: - [1.1.1] [1.1.2] Large MouseDown Extended Delays while playing Web App
- MacOS 10.13.2
+ [1.1.1] [1.1.2] MacOS 10.13.2: Large MouseDown Extended Delays while
+ playing Web App
Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [1.1.1] [1.1.2] MacOS 10.13.2: Large MouseDown Extended Delays while playing Web App

to switch a Terminal session to Java 8 (which must be installed ;-):

export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

mind the back-ticks!

description: updated
RaiMan (raimund-hocke)
summary: [1.1.1] [1.1.2] MacOS 10.13.2: Large MouseDown Extended Delays while
- playing Web App
+ playing Web App after about 1 minute
RaiMan (raimund-hocke)
summary: [1.1.1] [1.1.2] MacOS 10.13.2: Large MouseDown Extended Delays while
- playing Web App after about 1 minute
+ playing Web App after about 1 minute --- workarounds
Revision history for this message
mark (mzk12) wrote : Re: [1.1.1] [1.1.2] MacOS 10.13.2: Large MouseDown Extended Delays while playing Web App after about 1 minute --- workarounds

Thank you! Using the full'export' line in the terminal worked! It now seems like the extended mouse up/down issue is resolved.

RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.1.0
importance: High → Medium
summary: - [1.1.1] [1.1.2] MacOS 10.13.2: Large MouseDown Extended Delays while
- playing Web App after about 1 minute --- workarounds
+ [check] MacOS 10.13.2: Large MouseDown Extended Delays while playing Web
+ App after about 1 minute --- workarounds
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.