Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2014-12-02 16:32:40 +0000
committerMarvin Mueller2014-12-02 16:32:50 +0000
commit4cf50d54cd3d8d46b056c7403fccc8f0c1d63a1c (patch)
tree61d0d41502b3a9e663a5bc6411873187cb7fe0c4 /org.eclipse.jubula.rc.swing/src
parent3e2d9547929090a37544b99833815520b4f94522 (diff)
downloadorg.eclipse.jubula.core-4cf50d54cd3d8d46b056c7403fccc8f0c1d63a1c.tar.gz
org.eclipse.jubula.core-4cf50d54cd3d8d46b056c7403fccc8f0c1d63a1c.tar.xz
org.eclipse.jubula.core-4cf50d54cd3d8d46b056c7403fccc8f0c1d63a1c.zip
Sprint task - try out a workaround for http://bugs.eclipse.org/444471
Diffstat (limited to 'org.eclipse.jubula.rc.swing/src')
-rw-r--r--org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java
index 9ac8377b3..c78e892a0 100644
--- a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java
+++ b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java
@@ -32,7 +32,6 @@ import javax.swing.CellRendererPane;
import javax.swing.JComponent;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
-
import org.apache.commons.beanutils.PropertyUtils;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.Validate;
@@ -63,6 +62,7 @@ import org.eclipse.jubula.tools.internal.constants.TimingConstantsServer;
import org.eclipse.jubula.tools.internal.i18n.I18n;
import org.eclipse.jubula.tools.internal.objects.event.EventFactory;
import org.eclipse.jubula.tools.internal.objects.event.TestErrorEvent;
+import org.eclipse.jubula.tools.internal.utils.EnvironmentUtils;
/**
@@ -474,7 +474,10 @@ public class RobotAwtImpl implements IRobot {
m_robot.mouseMove(mouseMove[i].x, mouseMove[i].y);
m_eventFlusher.flush();
}
-
+ if (EnvironmentUtils.isMacOS()) {
+ // Workaround for bug http://bugs.eclipse.org/444471
+ RobotTiming.sleepPostMouseDownDelay();
+ }
if (confirmer != null) {
confirmer.waitToConfirm(component,
new MouseMovedAwtEventMatcher());

Back to the top