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

REGRESSION: GTK L&F internal frames demo can damage tab button in SwingSet2

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b62
    • CPU:
      x86, itanium
    • OS:
      linux, solaris_10
    • Verification:
      Verified

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b49)
      Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-ea-b49, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux ripley 2.6.12-1.1398_FC4 #1 Fri Jul 15 00:51:38 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      Dragging an internal frame in the SwingSet2 demo under a tab button causes it to be raised, damaging the button. The button is not redrawn. This did not happen in jdk1.5.0

      The internal frame's internal borders are also transparent, which looks weird, but that was the same in jdk1.5.0.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      (1) java -jar SwingSet2.jar
      (2) Select GTK Style Look and Feel
      (3) In the Internal Frames Demo, grab Frame 4 by its title and quickly drag it under the "Internal Frames Demo" tab button. Must be done quickly!




      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Frame 4 should not paint on other widgets, and should be hidden by things outside its container.
      ACTUAL -
      Frame 4 damages the tab button and some of the border.

      This does not happen in 1.5.0_04-b05, which clips the internal frame to its parent, keeping the title of the internal frame underneath (hidden by) the tab button.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      It is probably unrelated, but I also get the following printed to terminal on startup:
      Exception in Metacity for theme "Clearlooks": Variable "Bmin`max`height" not defined

      This is before the internal frame test.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      SwingSet2.jar from either jdk1.5.0 or jdk1.6.0-ea will exhibit this bug (with the jdk1.6.0-ea runtime).
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Move Frame 4 wery, wery slowly.

      Release Regression From : 5.0
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stayer Kirill Kirichenko (Inactive)
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: