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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Environment:

      OEL 7.1, Gnome 3, ubuntu14.04

    • Subcomponent:
    • Resolved In Build:
      b130
    • OS:
      linux

      Description

      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: ...

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: