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

TEST_BUG: some awt tests failed on win 7 with "windows 7 basic" theme

XMLWordPrintable

    • x86
    • windows_7

      following tests failed with "windows 7 basic" theme on windows 7:

      closed/java/awt/Focus/OverrideRedirectWindowActivationTest/OverrideRedirectWindowActivationTest.html
      closed/java/awt/Focus/ForwardingFocusToProxyMotifTest/ForwardingFocusToProxyMotifTest.java
      closed/java/awt/Focus/DisposedWindow/DisposeDialogNotActivateOwnerTest/DisposeDialogNotActivateOwnerTest.html

      tests failed because spacing between window control buttons for basic theme more than for aero; due to this robot clicked on minimize button in frame, then frame.isFocused() return false and tests failed

      test passed with "windows 7 aero" theme on stt-27.ru, but failed on stt-96-vmw5.ru with basic and with aero themes, because spacing between windows control buttons in aero theme is the same as in basic

      tests passed if increase frame width to 300, diff for OverrideRedirectWindowActivationTest.html:
      44c44
      < frame.setBounds(800, 0, 200, 100);
      ---
      > frame.setBounds(800, 0, 300, 100);
      46c46
      < dialog.setBounds(800, 300, 200, 100);
      ---
      > dialog.setBounds(800, 300, 300, 100);

      see comments for more details
      .
      removed PaintSetEnabledDeadlock test name - see CR 7143070

            Unassigned Unassigned
            vakulova Vera Akulova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: