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

[macosx]The layout of the contents of the frame is updated DURING resize when it display 'Dynamic layout is currently inactive' under the panel below

XMLWordPrintable

      1)On OS X toolkit.isDynamicLayoutActive() return FALSE but layout is DYNAMIC (each system resize event swing layout is revalidated).
      2) toolkit.getDesktopProperty("awt.dynamicLayoutSupported") returns null.

      Testsuite name:AWT functional
      Test name(s):AWT_LayoutTest/Manual/DynamicLayout/DynamicLayoutTest.html
      Product(s) tested:7u65b12(64bit) (jdk-7u65-macosx-x86_64.dmg)
      OS/architecture:Macmini10.9

      Error log file (if present): http://sc11152645.us.oracle.com:8080/evergreen/results/7u65/b12/awt/mac10.9/results-fun3/ResultDir/DynamicLayoutTest.html/DynamicLayoutTest.html.err
      Reproducible: Always
      Reproducible on machine:Evergreen-machine

      Is it a Regression:Not sure(7u60b10 on Mac10.9 it is failed as INTJDK-7605438)
      [If Regression] Regression introduced in release/build:
      Test result on the last GAed release for this train: 7u55b08 on Mac10.9, it is failed as INTJDK-7605438
      [if Fail] Test result on FCS:
      Is it a platform specific issue: 7u65b12 on win7-sp1-x86 pass
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Test run log location: http://sc11152645.us.oracle.com:8080/evergreen/results/7u65/b12/awt/mac10.9/results-fun3/ResultDir/DynamicLayoutTest.html/DynamicLayoutTest.html.log

      Steps to reproduce:
      1. Install the base build 7u65b11 (download from http://jre.us.oracle.com/java/re/jdk/7u65/promoted/fcs/b11/bundles/macosx-x86_64/jdk-7u65-macosx-x86_64.dmg) locate at /Library/Java/JavaVirtualMachines/jdk1.7.0_65_b11.jdk
      2. Install the test bundle 7u65b12 (download from http://jre.us.oracle.com/java/re/jdk/7u65/promoted/fcs/b12/bundles/macosx-x86_64/jdk-7u65-macosx-x86_64.dmg) locate at /Library/Java/JavaVirtualMachines/jdk1.7.0_65_b12.jdk
      3. Clone the awt functional workspace
      3a. hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7 /awt/
      3b. cd 7
      3c. hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7/awt
      4. Install ute from attachment to /awt
      5. add attachment testlist.fail to /awt
      6.Create results at /awt
      7. Modify the test_awt.sh as:
      /awt/ute/ute run -harness tonga -env TONGA_MAIN_CLASS=Tonga -testlist "/awt/testlist.fail" -env KEYWORDS=manual -env BASEBUILD="/Library/Java/JavaVirtualMachines/jdk1.7.0_65_b11.jdk /Contents/Home/" -env STABLE_JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_65_b11.jdk/Contents/Home/" -component awt -jdk "/Library/Java/JavaVirtualMachines/jdk1.7.0_65_b12.jdk/Contents/Home" -testbase /awt/7/awt/ -results /awt/results
      8. Go to /awt, and run the command : sh test_awt.sh
      9.Run the test case: AWT_LayoutTest/Manual/DynamicLayout/DynamicLayoutTest.html

      Case Instruction:
      You would see a testframe with components and containers
      This testcase checks if dynamic layout works properly. It is a platform dependent property. The property may or may not be supported in the platform under test. The panel below shows the current status. Some platform allows to change the property, whereas some others has a static property which cannot be changed. Windows allows to change the property. This testcase checks whether the dynamic layout works fine when the property is set / unset. Try both scenarios before clicking Pass or Failed. Please speficy the reason if you are marking the testcase as failed

       If the panel below says that dynamic layout is not active please do the following
      1. Move the mouse to the bottom right corner of the testframe.The cursor will change to a resize cursor. Now, resize the testframe slowly to the left till the width of the frame is very small and then to the right till the size of the frame is a bit larger than the original was
      2. The layout of the contents of the frame is NOT updated DURING resize assertion passed, else failed

      Actual behavior:
      1.It display 'Dynamic layout is currently inactive' under the panel below, but the layout of the contents of the frame is updated DURING resize
      2.We failed this case previous as INTJDK-7605438

      Validation:
      1.7u60b10 on mac10.9: failed as INTJDK-7605438, but It display 'Dynamic layout is currently inactive' under the panel below
      2.7u55b08 on mac10.9: failed as INTJDK-7605438, but It display 'Dynamic layout is currently inactive' under the panel below

        1. testlist.fail
          0.1 kB
        2. ute4mac.zip
          3.81 MB

            dmarkov Dmitry Markov
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: