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

[XWayland] Click on title to request focus test failures

XMLWordPrintable

    • b22

        Some tests are trying to get focus of some window by clicking on its title bar.

        However on XWayland emulating of mouse clicks has effect only in window area, but not on its decorations.
        So shifting of Y coordinate from window decoration to its body allows tests to pass.

        Another solution is to implement robot support for pure Wayland (JDK-8280983)

        open:

            PASS: java/awt/Focus/6981400/Test1.java
            PASS: java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java

        There is a test failing because of same reason:

            FAIL: java/awt/Mixing/AWT_Mixing/HierarchyBoundsListenerMixingTest.java

        It tries to resize/move window programmatically and with help of Robot(Dragging the border or header with mouse pressed). Programmatical way passes, robot fails due to reasons described above. We don't have much to do with this(make it manual, or remove robot resize)

              azvegint Alexander Zvegintsev
              azvegint Alexander Zvegintsev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: