Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8160764

[TEST_BUG] java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • client-libs
    • 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: ...

            arapte Ambarish Rapte
            yan Yuri Nesterenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: