-
Bug
-
Resolution: Fixed
-
P4
-
9
-
OEL 7.1, Gnome 3, ubuntu14.04
-
b130
-
linux
A couple of test bugs failing it on e.g. OEL:
(1) robot.mouseMove(textAreaBounds.x - 5, loc.y + 5);
this movement puts the pointer to (-5, something) outside of the screen;
(2) A first line in the actual test is
Point loc = textArea.getLocationOnScreen();
required the end of insets dance etc.: this location at that moment is most probably always incorrect, and very incorrect in my case of OEL 7.1. As a result, all Frame is dragged to x=-5, and window manager makes it maximized vertically.
I mean, there should be sync and some delay before getting location on the screen.
RULE "java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java" Exception java.lang.RuntimeException: TextArea over scrolled towards leftExpected selected text: '1234 ' and for mac '1234'Actual selected text: ...
(1) robot.mouseMove(textAreaBounds.x - 5, loc.y + 5);
this movement puts the pointer to (-5, something) outside of the screen;
(2) A first line in the actual test is
Point loc = textArea.getLocationOnScreen();
required the end of insets dance etc.: this location at that moment is most probably always incorrect, and very incorrect in my case of OEL 7.1. As a result, all Frame is dragged to x=-5, and window manager makes it maximized vertically.
I mean, there should be sync and some delay before getting location on the screen.
RULE "java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java" Exception java.lang.RuntimeException: TextArea over scrolled towards leftExpected selected text: '1234 ' and for mac '1234'Actual selected text: ...